Skip to content

Commit bddfe23

Browse files
Dr. David Alan GilbertStefan-Schmidt
authored andcommitted
net: mac802154: Remove unused ieee802154_mlme_tx_one
ieee802154_mlme_tx_one() was added in 2022 by commit ddd9ee7 ("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. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Acked-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Stefan Schmidt <[email protected]>
1 parent aad4b41 commit bddfe23

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

net/mac802154/ieee802154_i.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ int ieee802154_mlme_tx_locked(struct ieee802154_local *local,
194194
struct ieee802154_sub_if_data *sdata,
195195
struct sk_buff *skb);
196196
void ieee802154_mlme_op_post(struct ieee802154_local *local);
197-
int ieee802154_mlme_tx_one(struct ieee802154_local *local,
198-
struct ieee802154_sub_if_data *sdata,
199-
struct sk_buff *skb);
200197
int ieee802154_mlme_tx_one_locked(struct ieee802154_local *local,
201198
struct ieee802154_sub_if_data *sdata,
202199
struct sk_buff *skb);

net/mac802154/tx.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -178,19 +178,6 @@ void ieee802154_mlme_op_post(struct ieee802154_local *local)
178178
ieee802154_release_queue(local);
179179
}
180180

181-
int ieee802154_mlme_tx_one(struct ieee802154_local *local,
182-
struct ieee802154_sub_if_data *sdata,
183-
struct sk_buff *skb)
184-
{
185-
int ret;
186-
187-
ieee802154_mlme_op_pre(local);
188-
ret = ieee802154_mlme_tx(local, sdata, skb);
189-
ieee802154_mlme_op_post(local);
190-
191-
return ret;
192-
}
193-
194181
int ieee802154_mlme_tx_one_locked(struct ieee802154_local *local,
195182
struct ieee802154_sub_if_data *sdata,
196183
struct sk_buff *skb)

0 commit comments

Comments
 (0)