projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c256ba6
)
wifi: mt76: Remove unused inline function mt76_wcid_mask_test()
author
Gaosheng Cui
<cuigaosheng1@huawei.com>
Thu, 22 Sep 2022 07:47:11 +0000
(15:47 +0800)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 1 Dec 2022 16:29:12 +0000
(17:29 +0100)
All uses of mt76_wcid_mask_test() have
been removed since commit
8950a62f19c9
("mt76: get rid of
mt76_wcid_hw routine"), so remove it.
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/util.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/util.h
b/drivers/net/wireless/mediatek/mt76/util.h
index
49c52d7
..
260965d
100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/util.h
+++ b/
drivers/net/wireless/mediatek/mt76/util.h
@@
-29,12
+29,6
@@
enum {
int mt76_wcid_alloc(u32 *mask, int size);
-static inline bool
-mt76_wcid_mask_test(u32 *mask, int idx)
-{
- return mask[idx / 32] & BIT(idx % 32);
-}
-
static inline void
mt76_wcid_mask_set(u32 *mask, int idx)
{