summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/osdep_service.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-01-15 17:55:28 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-01-25 16:27:23 +0100
commit0bf66e3a362930912ecbcb7bf74378fda1ae3bfd (patch)
treeccad9e324af18a51d9a3b01791e2471dbae73519 /drivers/staging/r8188eu/include/osdep_service.h
parentea9eb1b550638d14af93661735c7001c2a0c0482 (diff)
downloadlinux-0bf66e3a362930912ecbcb7bf74378fda1ae3bfd.tar.bz2
staging: r8188eu: remove unused bitshift function
The bitshift function from osdep_service.h is not used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220115165536.231210-4-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/osdep_service.h')
-rw-r--r--drivers/staging/r8188eu/include/osdep_service.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/r8188eu/include/osdep_service.h b/drivers/staging/r8188eu/include/osdep_service.h
index 2f6b8acd0a10..6d03e135d1e3 100644
--- a/drivers/staging/r8188eu/include/osdep_service.h
+++ b/drivers/staging/r8188eu/include/osdep_service.h
@@ -163,15 +163,6 @@ static inline u32 _RND512(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;
-}
-
/* limitation of path length */
#define PATH_LENGTH_MAX PATH_MAX