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

It was plain a bad idea ...

Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
Ralf Baechle 2007-10-15 01:00:06 +01:00
commit 56f621c7f6
4 changed files with 6 additions and 16 deletions

View file

@ -98,16 +98,6 @@ static __inline__ int au_ffz(unsigned int x)
return __ilog2(x & -x);
}
/*
* ffs: find first bit set. This is defined the same way as
* the libc and compiler builtin ffs routines, therefore
* differs in spirit from the above ffz (man ffs).
*/
static __inline__ int au_ffs(int x)
{
return __ilog2(x & -x) + 1;
}
/* arch/mips/au1000/common/clocks.c */
extern void set_au1x00_speed(unsigned int new_freq);
extern unsigned int get_au1x00_speed(void);