sparc: bury a zombie extern that had been that way for twenty years
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Mar 2018 03:08:21 +0000 (23:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Mar 2018 16:01:43 +0000 (12:01 -0400)
Back in January 1998, in 2.1.79 check_pending() got taken out and shot.
Users in arch/sparc and arch/sparc64 got converted away from it.  One
of the externs (in arch/sparc) was taken out at the same time.  Two
other (in arch/sparc64/kernel/sys_sparc{,32}.c) got stuck.  The one in
sys_sparc32.c was quietly removed 6 years later by an unrelated
commit.  The last one kept shambling until now.  It's time to end
that depravity, let's bury the body...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sparc/kernel/sys_sparc_64.c

index c8d759ef783c19da378e6e27d9997a67d483cf4a..180c536602bd6600caace090511cedbb47463ac0 100644 (file)
@@ -523,8 +523,6 @@ asmlinkage void sparc_breakpoint(struct pt_regs *regs)
        exception_exit(prev_state);
 }
 
-extern void check_pending(int signum);
-
 SYSCALL_DEFINE2(getdomainname, char __user *, name, int, len)
 {
         int nlen, err;