Browse Source

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>
Heiko Carstens 11 years ago
parent
commit
ea2f476990
1 changed files with 0 additions and 5 deletions
  1. 0 5
      arch/s390/kernel/kprobes.c

+ 0 - 5
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();