From: navin patidar Date: Sun, 22 Jun 2014 08:51:34 +0000 (+0530) Subject: staging: rtl8188eu: Remove unused inline function bitshift() X-Git-Tag: firefly_0821_release~176^2~3491^2~1405 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e42b1f272927651170e149548881bac2ea61f9c9;p=firefly-linux-kernel-4.4.55.git staging: rtl8188eu: Remove unused inline function bitshift() Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/include/osdep_service.h b/drivers/staging/rtl8188eu/include/osdep_service.h index ca0957b412ae..0b5485637ddd 100644 --- a/drivers/staging/rtl8188eu/include/osdep_service.h +++ b/drivers/staging/rtl8188eu/include/osdep_service.h @@ -215,16 +215,6 @@ static inline u32 _RND256(u32 sz) return val; } -static inline u32 bitshift(u32 bitmask) -{ - u32 i; - - for (i = 0; i <= 31; i++) - if (((bitmask>>i) & 0x1) == 1) - break; - return i; -} - struct rtw_netdev_priv_indicator { void *priv; u32 sizeof_priv;