From: Gaosheng Cui <cuigaosheng1@huawei.com> To: <idosch@nvidia.com>, <petrm@nvidia.com>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <nbd@nbd.name>, <lorenzo@kernel.org>, <ryder.lee@mediatek.com>, <shayne.chen@mediatek.com>, <sean.wang@mediatek.com>, <kvalo@kernel.org>, <matthias.bgg@gmail.com>, <amcohen@nvidia.com>, <stephen@networkplumber.org>, <cuigaosheng1@huawei.com> Cc: <netdev@vger.kernel.org>, <linux-wireless@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org> Subject: [PATCH 2/5] mt76: Remove unused inline function mt76_wcid_mask_test() Date: Wed, 21 Sep 2022 17:04:52 +0800 [thread overview] Message-ID: <20220921090455.752011-3-cuigaosheng1@huawei.com> (raw) In-Reply-To: <20220921090455.752011-1-cuigaosheng1@huawei.com> 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> --- drivers/net/wireless/mediatek/mt76/util.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/util.h b/drivers/net/wireless/mediatek/mt76/util.h index 49c52d781f40..260965dde94c 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) { -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Gaosheng Cui <cuigaosheng1@huawei.com> To: <idosch@nvidia.com>, <petrm@nvidia.com>, <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>, <nbd@nbd.name>, <lorenzo@kernel.org>, <ryder.lee@mediatek.com>, <shayne.chen@mediatek.com>, <sean.wang@mediatek.com>, <kvalo@kernel.org>, <matthias.bgg@gmail.com>, <amcohen@nvidia.com>, <stephen@networkplumber.org>, <cuigaosheng1@huawei.com> Cc: <netdev@vger.kernel.org>, <linux-wireless@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-mediatek@lists.infradead.org> Subject: [PATCH 2/5] mt76: Remove unused inline function mt76_wcid_mask_test() Date: Wed, 21 Sep 2022 17:04:52 +0800 [thread overview] Message-ID: <20220921090455.752011-3-cuigaosheng1@huawei.com> (raw) In-Reply-To: <20220921090455.752011-1-cuigaosheng1@huawei.com> 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> --- drivers/net/wireless/mediatek/mt76/util.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/mediatek/mt76/util.h b/drivers/net/wireless/mediatek/mt76/util.h index 49c52d781f40..260965dde94c 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) { -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-09-21 9:05 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-21 9:04 [PATCH 0/5] Remove useless inline functions from net Gaosheng Cui 2022-09-21 9:04 ` Gaosheng Cui 2022-09-21 9:04 ` [PATCH 1/5] mlxsw: reg: Remove unused inline function mlxsw_reg_sftr2_pack() Gaosheng Cui 2022-09-21 9:04 ` Gaosheng Cui 2022-09-21 10:34 ` Ido Schimmel 2022-09-21 10:34 ` Ido Schimmel 2022-09-22 9:03 ` cuigaosheng 2022-09-22 9:03 ` cuigaosheng 2022-09-21 13:15 ` Petr Machata 2022-09-21 13:15 ` Petr Machata 2022-09-21 13:17 ` Petr Machata 2022-09-21 13:17 ` Petr Machata 2022-09-21 9:04 ` Gaosheng Cui [this message] 2022-09-21 9:04 ` [PATCH 2/5] mt76: Remove unused inline function mt76_wcid_mask_test() Gaosheng Cui 2022-09-21 13:11 ` Jakub Kicinski 2022-09-21 13:11 ` Jakub Kicinski 2022-09-21 15:07 ` Jeff Johnson 2022-09-21 15:07 ` Jeff Johnson 2022-09-22 8:45 ` cuigaosheng 2022-09-22 8:45 ` cuigaosheng 2022-09-21 9:04 ` [PATCH 3/5] neighbour: Remove unused inline function neigh_key_eq16() Gaosheng Cui 2022-09-21 9:04 ` Gaosheng Cui 2022-09-21 9:04 ` [PATCH 4/5] net: Remove unused inline function sk_nulls_node_init() Gaosheng Cui 2022-09-21 9:04 ` Gaosheng Cui 2022-09-21 9:04 ` [PATCH 5/5] net: Remove unused inline function dst_hold_and_use() Gaosheng Cui 2022-09-21 9:04 ` Gaosheng Cui
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220921090455.752011-3-cuigaosheng1@huawei.com \ --to=cuigaosheng1@huawei.com \ --cc=amcohen@nvidia.com \ --cc=davem@davemloft.net \ --cc=edumazet@google.com \ --cc=idosch@nvidia.com \ --cc=kuba@kernel.org \ --cc=kvalo@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-mediatek@lists.infradead.org \ --cc=linux-wireless@vger.kernel.org \ --cc=lorenzo@kernel.org \ --cc=matthias.bgg@gmail.com \ --cc=nbd@nbd.name \ --cc=netdev@vger.kernel.org \ --cc=pabeni@redhat.com \ --cc=petrm@nvidia.com \ --cc=ryder.lee@mediatek.com \ --cc=sean.wang@mediatek.com \ --cc=shayne.chen@mediatek.com \ --cc=stephen@networkplumber.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.