Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/mt76.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-09-22 10:47:11 +0300
committerFelix Fietkau <nbd@nbd.name>2022-10-01 15:38:05 +0300
commit9059a5de3bd01bcd176246e7fe1dff03540b0c46 (patch)
treee52a9067e8f9da0fd944a028ac2d444faeb9e8f2
parentc07f3d2d5edeae176f12a36020de71af08899cb6 (diff)
wifi: mt76: Remove unused inline function mt76_wcid_mask_test()
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>
-rw-r--r--util.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/util.h b/util.h
index 49c52d78..260965dd 100644
--- a/util.h
+++ b/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)
{