net: mac802154: Remove unused ieee802154_mlme_tx_one
ieee802154_mlme_tx_one() was added in 2022 by
commit ddd9ee7cda ("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 <linux@treblig.org>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/20241225012423.439229-1-linux@treblig.org
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
pull/1131/head
parent
aad4b41a34
commit
bddfe23be8
|
|
@ -194,9 +194,6 @@ int ieee802154_mlme_tx_locked(struct ieee802154_local *local,
|
||||||
struct ieee802154_sub_if_data *sdata,
|
struct ieee802154_sub_if_data *sdata,
|
||||||
struct sk_buff *skb);
|
struct sk_buff *skb);
|
||||||
void ieee802154_mlme_op_post(struct ieee802154_local *local);
|
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,
|
int ieee802154_mlme_tx_one_locked(struct ieee802154_local *local,
|
||||||
struct ieee802154_sub_if_data *sdata,
|
struct ieee802154_sub_if_data *sdata,
|
||||||
struct sk_buff *skb);
|
struct sk_buff *skb);
|
||||||
|
|
|
||||||
|
|
@ -178,19 +178,6 @@ void ieee802154_mlme_op_post(struct ieee802154_local *local)
|
||||||
ieee802154_release_queue(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,
|
int ieee802154_mlme_tx_one_locked(struct ieee802154_local *local,
|
||||||
struct ieee802154_sub_if_data *sdata,
|
struct ieee802154_sub_if_data *sdata,
|
||||||
struct sk_buff *skb)
|
struct sk_buff *skb)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue