]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: libertas: Cleanup unused declarations
authorYue Haibing <yuehaibing@huawei.com>
Tue, 3 Sep 2024 11:58:11 +0000 (19:58 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 9 Sep 2024 12:30:26 +0000 (15:30 +0300)
There is no caller and implementation in tree.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240903115811.958692-1-yuehaibing@huawei.com
drivers/net/wireless/marvell/libertas/cmd.h
drivers/net/wireless/marvell/libertas_tf/libertas_tf.h

index 3c193074662b62cedba6b2dd3134820b55ebd14b..d7be232f573940dd93ad11fc55f376498d42327f 100644 (file)
@@ -116,11 +116,6 @@ int lbs_set_power_adapt_cfg(struct lbs_private *priv, int enable, int8_t p0,
 int lbs_set_tpc_cfg(struct lbs_private *priv, int enable, int8_t p0, int8_t p1,
                int8_t p2, int usesnr);
 
-int lbs_set_data_rate(struct lbs_private *priv, u8 rate);
-
-int lbs_cmd_802_11_rate_adapt_rateset(struct lbs_private *priv,
-                                     uint16_t cmd_action);
-
 int lbs_set_tx_power(struct lbs_private *priv, s16 dbm);
 
 int lbs_set_deep_sleep(struct lbs_private *priv, int deep_sleep);
index 631b5da09f86a0b550b6a9953de53c9c63ac715b..a5d4c09fb918998bb82a08f87665ddf6ea23d90e 100644 (file)
@@ -484,12 +484,9 @@ void lbtf_complete_command(struct lbtf_private *priv, struct cmd_ctrl_node *cmd,
 void lbtf_cmd_response_rx(struct lbtf_private *priv);
 
 /* main.c */
-struct chan_freq_power *lbtf_get_region_cfp_table(u8 region,
-       int *cfp_no);
 struct lbtf_private *lbtf_add_card(void *card, struct device *dmdev,
                                   const struct lbtf_ops *ops);
 int lbtf_remove_card(struct lbtf_private *priv);
-int lbtf_start_card(struct lbtf_private *priv);
 int lbtf_rx(struct lbtf_private *priv, struct sk_buff *skb);
 void lbtf_send_tx_feedback(struct lbtf_private *priv, u8 retrycnt, u8 fail);
 void lbtf_bcn_sent(struct lbtf_private *priv);