OSDN Git Service

staging: rtl8188eu: Remove unused inline function bitshift()
authornavin patidar <navin.patidar@gmail.com>
Sun, 22 Jun 2014 08:51:34 +0000 (14:21 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:27:14 +0000 (20:27 -0400)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/osdep_service.h

index ca0957b..0b54856 100644 (file)
@@ -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;