Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gaosheng Cui and committed by
Felix Fietkau
03c2dd4d c256ba6b

-6
-6
drivers/net/wireless/mediatek/mt76/util.h
··· 29 29 30 30 int mt76_wcid_alloc(u32 *mask, int size); 31 31 32 - static inline bool 33 - mt76_wcid_mask_test(u32 *mask, int idx) 34 - { 35 - return mask[idx / 32] & BIT(idx % 32); 36 - } 37 - 38 32 static inline void 39 33 mt76_wcid_mask_set(u32 *mask, int idx) 40 34 {