From: Gaosheng Cui Date: Thu, 22 Sep 2022 07:47:11 +0000 (+0800) Subject: wifi: mt76: Remove unused inline function mt76_wcid_mask_test() X-Git-Tag: v6.6.7~3913^2~77^2~2^2~74 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03c2dd4d01a20edbadee408a622dee5e8a27f1e6;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Felix Fietkau --- diff --git a/drivers/net/wireless/mediatek/mt76/util.h b/drivers/net/wireless/mediatek/mt76/util.h index 49c52d7..260965d 100644 --- 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) {