Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2126e23 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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);