MIPS: math-emu: Remove unused handle_dsemul function declaration
authorMarkos Chandras <markos.chandras@imgtec.com>
Wed, 12 Aug 2015 09:14:35 +0000 (10:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:15 +0000 (12:08 +0200)
handle_dsemul does not exist and it's not being used in the code at all
so remove its declaration. The deliberate DS emulation exception is
handled by the do_dsemulret C code.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10950/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dsemul.c

index e0b5cc27d78b0dd906ec1248b670346116219b37..cbb36c14b155ad07dae2250550bc4090622180cd 100644 (file)
@@ -33,7 +33,6 @@ struct emuframe {
 
 int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
 {
 
 int mips_dsemul(struct pt_regs *regs, mips_instruction ir, unsigned long cpc)
 {
-       extern asmlinkage void handle_dsemulret(void);
        struct emuframe __user *fr;
        int err;
 
        struct emuframe __user *fr;
        int err;