From: Paul Burton Date: Thu, 7 Nov 2013 12:48:30 +0000 (+0000) Subject: MIPS: Remove unused {en,dis}able_fpu macros X-Git-Tag: v3.14-rc1~37^2~136 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=56a22d21bf9744315f56b2bbd6416170f27b7765;p=~emulex%2Finfiniband.git MIPS: Remove unused {en,dis}able_fpu macros These macros are not used anywhere in the kernel. Remove them. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/6111/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/include/asm/fpu.h b/arch/mips/include/asm/fpu.h index d088e5db490..3bf023fde48 100644 --- a/arch/mips/include/asm/fpu.h +++ b/arch/mips/include/asm/fpu.h @@ -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)