Explorar el Código

[MIPS] Alchemy: Get rid of au_ffz().

There were no users - and why have a private version anyway.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle hace 17 años
padre
commit
d2126e230d
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0 7
      include/asm-mips/mach-au1x00/au1000.h

+ 0 - 7
include/asm-mips/mach-au1x00/au1000.h

@@ -91,13 +91,6 @@ static inline u32 au_readl(unsigned long reg)
 }
 
 
-static __inline__ int au_ffz(unsigned int x)
-{
-	if ((x = ~x) == 0)
-		return 32;
-	return __ilog2(x & -x);
-}
-
 /* arch/mips/au1000/common/clocks.c */
 extern void set_au1x00_speed(unsigned int new_freq);
 extern unsigned int get_au1x00_speed(void);