net: mac802154: Remove unused ieee802154_mlme_tx_one
Subsystems (3)
RFC 1/1 net: mac802154: Remove unused ieee802154_mlme_tx_one
From: "Dr. David Alan Gilbert" <[email protected]>
ieee802154_mlme_tx_one() was added in 2022 by
commit ddd9ee7cda12 ("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.
Remove it.
Note, there's still a ieee802154_mlme_tx_one_locked() variant that is used.
--- net/mac802154/ieee802154_i.h | 3 --- net/mac802154/tx.c | 13 ------------- 2 files changed, 16 deletions(-)
net/mac802154/ieee802154_i.h +0 -3
@@ -194,9 +194,6 @@ int ieee802154_mlme_tx_locked(struct ieee802154_local *local,struct ieee802154_sub_if_data *sdata, struct sk_buff *skb);void ieee802154_mlme_op_post (struct ieee802154_local *local); -int ieee802154_mlme_tx_one (struct ieee802154_local *local, -struct ieee802154_sub_if_data *sdata, -struct sk_buff *skb);int ieee802154_mlme_tx_one_locked (struct ieee802154_local *local,struct ieee802154_sub_if_data *sdata,struct sk_buff *skb);
net/mac802154/tx.c +0 -13
@@ -178,19 +178,6 @@ void ieee802154_mlme_op_post(struct ieee802154_local *local)ieee802154_release_queue (local); } -int ieee802154_mlme_tx_one (struct ieee802154_local *local, -struct ieee802154_sub_if_data *sdata, -struct sk_buff *skb) -{ -int ret; - -ieee802154_mlme_op_pre (local); - ret =ieee802154_mlme_tx (local, sdata, skb); -ieee802154_mlme_op_post (local); - -return ret; -} -int ieee802154_mlme_tx_one_locked (struct ieee802154_local *local,struct ieee802154_sub_if_data *sdata,struct sk_buff *skb)
Signature · 1 line
2.47.1
Hello,
Quoted 11 lines · On 25/12/2024 at 01:24:23 GMT, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
ieee802154_mlme_tx_one()was added in 2022 by
commitddd9ee7cda12("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.Remove it.
Note, there's still a
ieee802154_mlme_tx_one_locked()variant that is used.
I don't remember what this is for. I didn't find any use of it in my desperately downstream branches, so it must be a leftover.
Thanks,
Miquèl
Hello [email protected].
Quoted 10 lines · On Wed, 25 Dec 2024 01:24:23 +0000, [email protected] wrote:
ieee802154_mlme_tx_one()was added in 2022 by
commitddd9ee7cda12("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.Remove it.
Note, there's still a
ieee802154_mlme_tx_one_locked()variant that is used.[...]
Applied to wpan/wpan-next.git, thanks!
[1/1] net: mac802154: Remove unused ieee802154_mlme_tx_one
https://git.kernel.org/wpan/wpan-next/c/bddfe23be8f8
regards,
Stefan Schmidt
Quoted 7 lines · * Stefan Schmidt ([email protected]) wrote:
Hello [email protected].
Quoted 4 lines · On Wed, 25 Dec 2024 01:24:23 +0000, [email protected] wrote:
ieee802154_mlme_tx_one()was added in 2022 by
commitddd9ee7cda12("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.
Quoted 8 lines
Quoted 6 lines
Remove it.
Note, there's still a
ieee802154_mlme_tx_one_locked()variant that is used.[...]
Applied to wpan/wpan-next.git, thanks!
Thanks! I'd been thinking I had to wait for net-next to reopen.
Dave
Quoted 5 lines
[1/1] net: mac802154: Remove unused
ieee802154_mlme_tx_onehttps://git.kernel.org/wpan/wpan-next/c/bddfe23be8f8regards,
Stefan Schmidt
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Stefan Schmidt
maintainerHello Dave,
Quoted 10 lines · Dr. David Alan Gilbert
Quoted 9 lines · * Stefan Schmidt ([email protected]) wrote:
Hello [email protected].
Quoted 6 lines · On Wed, 25 Dec 2024 01:24:23 +0000, [email protected] wrote:
ieee802154_mlme_tx_one()was added in 2022 by
commitddd9ee7cda12("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.Remove it.
Quoted 8 lines
Quoted 6 lines
Quoted 4 lines
Note, there's still a
ieee802154_mlme_tx_one_locked()variant that is used.[...]
Applied to wpan/wpan-next.git, thanks!
Thanks! I'd been thinking I had to wait for net-next to reopen.
It's in my wpan-next tree and I will send a pull request to net-next when it opens up again.
regards
Stefan Schmidt
Quoted 16 lines · * Stefan Schmidt ([email protected]) wrote:
Hello Dave,
Quoted 13 lines · Dr. David Alan Gilbert
Quoted 12 lines · * Stefan Schmidt ([email protected]) wrote:
Hello [email protected].
Quoted 9 lines · On Wed, 25 Dec 2024 01:24:23 +0000, [email protected] wrote:
ieee802154_mlme_tx_one()was added in 2022 by
commitddd9ee7cda12("net: mac802154: Introduce a synchronous API for MLME commands") but has remained unused.Remove it.
Note, there's still a
ieee802154_mlme_tx_one_locked()variant that is used.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
[...]
Applied to wpan/wpan-next.git, thanks!
Thanks! I'd been thinking I had to wait for net-next to reopen.
It's in my wpan-next tree and I will send a pull request to net-next when it opens up again.
Thanks, I see it in linux-next.
Dave
Quoted 2 lines
regards
Stefan Schmidt
Signature · 4 lines
-----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/