summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/dsemul.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 02:24:08 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 11:12:54 +0200
commit6d18b6246d2bfb9da2d342553e41565e14422089 (patch)
tree42cbedb44b0e4f278362f37fef7ad841b327e24f /arch/mips/math-emu/dsemul.c
parentcd8ee345e8affceaa3f846012db7eb799a6d918f (diff)
MIPS: math-emu: Remove fine example of cargo cult programming.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/dsemul.c')
-rw-r--r--arch/mips/math-emu/dsemul.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/mips/math-emu/dsemul.c b/arch/mips/math-emu/dsemul.c
index 3aea39d99c37..c6e879c59a7f 100644
--- a/arch/mips/math-emu/dsemul.c
+++ b/arch/mips/math-emu/dsemul.c
@@ -7,13 +7,6 @@
#include "ieee754.h"
-/* Strap kernel emulator for full MIPS IV emulation */
-
-#ifdef __mips
-#undef __mips
-#endif
-#define __mips 4
-
/*
* Emulate the arbritrary instruction ir at xcp->cp0_epc. Required when
* we have to emulate the instruction in a COP1 branch delay slot. Do