From: Jes Sorensen Date: Wed, 9 Apr 2014 21:21:17 +0000 (+0200) Subject: staging: rtl8723au: Remove unused bitshift() function X-Git-Tag: next-20140428~14^2~448 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6484767b93e3cb81b0e70dc3c877f5d721e89c27;p=karo-tx-linux.git staging: rtl8723au: Remove unused bitshift() function Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/include/osdep_service.h b/drivers/staging/rtl8723au/include/osdep_service.h index c5fb356d6be2..6b7d7aa464fd 100644 --- a/drivers/staging/rtl8723au/include/osdep_service.h +++ b/drivers/staging/rtl8723au/include/osdep_service.h @@ -147,16 +147,6 @@ extern unsigned char MCS_rate_1R23A[16]; void _rtw_init_queue23a(struct rtw_queue *pqueue); u32 _rtw_queue_empty23a(struct rtw_queue *pqueue); -static inline u32 bitshift(u32 bitmask) -{ - u32 i; - - for (i = 0; i <= 31; i++) - if (((bitmask>>i) & 0x1) == 1) break; - - return i; -} - void rtw_suspend_lock_init(void); void rtw_suspend_lock_uninit(void); void rtw_lock_suspend(void);