Commit d2126e23 authored by Ralf Baechle's avatar Ralf Baechle

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

There were no users - and why have a private version anyway.
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 56f621c7
...@@ -91,13 +91,6 @@ static inline u32 au_readl(unsigned long reg) ...@@ -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 */ /* arch/mips/au1000/common/clocks.c */
extern void set_au1x00_speed(unsigned int new_freq); extern void set_au1x00_speed(unsigned int new_freq);
extern unsigned int get_au1x00_speed(void); extern unsigned int get_au1x00_speed(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment