summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/stackframe.h
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-10-17 15:34:38 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-03 16:34:42 +0100
commit3ae34beb5ec9b04769708daf40cd5fff85cc537f (patch)
treeff120fc377db077753ff86b6c7decb631ca0bc02 /arch/mips/include/asm/stackframe.h
parent9eaa9a82e5d6be2234482c3468ed56143c713729 (diff)
MIPS: Remove RESTORE_ALL_AND_RET
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>
Diffstat (limited to 'arch/mips/include/asm/stackframe.h')
-rw-r--r--arch/mips/include/asm/stackframe.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/include/asm/stackframe.h b/arch/mips/include/asm/stackframe.h
index 6c74a804fe98..eaa5a4d7d5e5 100644
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch/mips/include/asm/stackframe.h
@@ -387,14 +387,6 @@
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