]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: remove unused {en,dis}able_fpu macros
authorPaul Burton <paul.burton@imgtec.com>
Thu, 7 Nov 2013 12:48:30 +0000 (12:48 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jan 2014 20:39:36 +0000 (21:39 +0100)
These macros are not used anywhere in the kernel. Remove them.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6111/

arch/mips/include/asm/fpu.h

index d088e5db49032bf3d2ed0f050ac49eb889446e8f..3bf023fde482d35267ab476b313d8b2feef87581 100644 (file)
@@ -45,19 +45,6 @@ do {                                                                 \
        disable_fpu_hazard();                                           \
 } while (0)
 
-#define enable_fpu()                                                   \
-do {                                                                   \
-       if (cpu_has_fpu)                                                \
-               __enable_fpu();                                         \
-} while (0)
-
-#define disable_fpu()                                                  \
-do {                                                                   \
-       if (cpu_has_fpu)                                                \
-               __disable_fpu();                                        \
-} while (0)
-
-
 #define clear_fpu_owner()      clear_thread_flag(TIF_USEDFPU)
 
 static inline int __is_fpu_owner(void)