MIPS: Remove RESTORE_ALL_AND_RET
authorPaul Burton <paul.burton@imgtec.com>
Mon, 17 Oct 2016 14:34:38 +0000 (15:34 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:34:42 +0000 (16:34 +0100)
The RESTORE_ALL_AND_RET macro is never used. Remove the dead code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/14411/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/stackframe.h

index 6c74a804fe983e76c6c390f5fd02b3911bc7602f..eaa5a4d7d5e572aa91a0e08ab059796a270556bc 100644 (file)
                RESTORE_SP
                .endm
 
-               .macro  RESTORE_ALL_AND_RET
-               RESTORE_TEMP
-               RESTORE_STATIC
-               RESTORE_AT
-               RESTORE_SOME
-               RESTORE_SP_AND_RET
-               .endm
-
 /*
  * Move to kernel mode and disable interrupts.
  * Set cp0 enable bit as sign that we're running on the kernel stack