Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Paul Burton and committed by
Ralf Baechle
3ae34beb 9eaa9a82

-8
-8
arch/mips/include/asm/stackframe.h
··· 387 387 RESTORE_SP 388 388 .endm 389 389 390 - .macro RESTORE_ALL_AND_RET 391 - RESTORE_TEMP 392 - RESTORE_STATIC 393 - RESTORE_AT 394 - RESTORE_SOME 395 - RESTORE_SP_AND_RET 396 - .endm 397 - 398 390 /* 399 391 * Move to kernel mode and disable interrupts. 400 392 * Set cp0 enable bit as sign that we're running on the kernel stack