summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2014-09-03 10:37:40 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-09-09 08:53:29 +0200
commitea2f47699082b971769be8b8f38c08b49219f471 (patch)
treed70ea0bf482a3f5f8b2c7afaf544c226aba43469
parent5d6a0163494c78ad7b6de733c8793e66b5da9212 (diff)
s390/kprobes: remove unused jprobe_return_end()
Even if it has a __used annotation it is actually unused. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/kernel/kprobes.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c
index bc71a7b95af5..c48a00c9f351 100644
--- a/arch/s390/kernel/kprobes.c
+++ b/arch/s390/kernel/kprobes.c
@@ -789,11 +789,6 @@ void __kprobes jprobe_return(void)
asm volatile(".word 0x0002");
}
-static void __used __kprobes jprobe_return_end(void)
-{
- asm volatile("bcr 0,0");
-}
-
int __kprobes longjmp_break_handler(struct kprobe *p, struct pt_regs *regs)
{
struct kprobe_ctlblk *kcb = get_kprobe_ctlblk();