sparc64: Delete __ret_efault.
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Aug 2016 21:41:33 +0000 (14:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Oct 2016 18:29:25 +0000 (11:29 -0700)
It is completely unused.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/head_64.S

index b68acc5..f8518df 100644 (file)
@@ -82,7 +82,6 @@ static inline int access_ok(int type, const void __user * addr, unsigned long si
        return 1;
 }
 
-void __ret_efault(void);
 void __retl_efault(void);
 
 /* Uh, these should become the main single-value transfer routines..
index beba6c1..603d736 100644 (file)
@@ -926,13 +926,7 @@ tlb_type:  .word   0       /* Must NOT end up in BSS */
 EXPORT_SYMBOL(tlb_type)
        .section        ".fixup",#alloc,#execinstr
 
-       .globl  __ret_efault, __retl_efault, __ret_one, __retl_one
-ENTRY(__ret_efault)
-       ret
-        restore %g0, -EFAULT, %o0
-ENDPROC(__ret_efault)
-EXPORT_SYMBOL(__ret_efault)
-
+       .globl  __retl_efault, __ret_one, __retl_one
 ENTRY(__retl_efault)
        retl
         mov    -EFAULT, %o0