linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] wifi: ath9k: Remove unused declarations
@ 2023-08-10 14:52 Yue Haibing
  2023-08-15 10:31 ` Toke Høiland-Jørgensen
  2023-08-22 13:39 ` Kalle Valo
  0 siblings, 2 replies; 3+ messages in thread
From: Yue Haibing @ 2023-08-10 14:52 UTC (permalink / raw)
  To: toke, kvalo, christophe.jaillet, yuehaibing; +Cc: linux-wireless

Commit b57ba3b2f7b0 ("ath9k: move ath9k_reload_chainmask_settings to common")
removed the implementation ath9k_reload_chainmask_settings() but not the declaration.
Also commit 978f78bf7137 ("ath9k_hw: Move bt_stomp to hw from common.") left behind
ath9k_cmn_btcoex_bt_stomp() declaration.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/net/wireless/ath/ath9k/ath9k.h  | 1 -
 drivers/net/wireless/ath/ath9k/common.h | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index 2cc23605c9fc..668fc07b3073 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -1129,7 +1129,6 @@ void ath_restart_work(struct ath_softc *sc);
 int ath9k_init_device(u16 devid, struct ath_softc *sc,
 		    const struct ath_bus_ops *bus_ops);
 void ath9k_deinit_device(struct ath_softc *sc);
-void ath9k_reload_chainmask_settings(struct ath_softc *sc);
 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
 void ath_start_rfkill_poll(struct ath_softc *sc);
 void ath9k_rfkill_poll_state(struct ieee80211_hw *hw);
diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h
index f0ab6f9955e4..12204cf86fcf 100644
--- a/drivers/net/wireless/ath/ath9k/common.h
+++ b/drivers/net/wireless/ath/ath9k/common.h
@@ -85,8 +85,6 @@ struct ath9k_channel *ath9k_cmn_get_channel(struct ieee80211_hw *hw,
 					    struct ath_hw *ah,
 					    struct cfg80211_chan_def *chandef);
 int ath9k_cmn_count_streams(unsigned int chainmask, int max);
-void ath9k_cmn_btcoex_bt_stomp(struct ath_common *common,
-				  enum ath_stomp_type stomp_type);
 void ath9k_cmn_update_txpow(struct ath_hw *ah, u16 cur_txpow,
 			    u16 new_txpow, u16 *txpower);
 void ath9k_cmn_init_crypto(struct ath_hw *ah);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] wifi: ath9k: Remove unused declarations
  2023-08-10 14:52 [PATCH] wifi: ath9k: Remove unused declarations Yue Haibing
@ 2023-08-15 10:31 ` Toke Høiland-Jørgensen
  2023-08-22 13:39 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Toke Høiland-Jørgensen @ 2023-08-15 10:31 UTC (permalink / raw)
  To: Yue Haibing, kvalo, christophe.jaillet, yuehaibing; +Cc: linux-wireless

Yue Haibing <yuehaibing@huawei.com> writes:

> Commit b57ba3b2f7b0 ("ath9k: move ath9k_reload_chainmask_settings to common")
> removed the implementation ath9k_reload_chainmask_settings() but not the declaration.
> Also commit 978f78bf7137 ("ath9k_hw: Move bt_stomp to hw from common.") left behind
> ath9k_cmn_btcoex_bt_stomp() declaration.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] wifi: ath9k: Remove unused declarations
  2023-08-10 14:52 [PATCH] wifi: ath9k: Remove unused declarations Yue Haibing
  2023-08-15 10:31 ` Toke Høiland-Jørgensen
@ 2023-08-22 13:39 ` Kalle Valo
  1 sibling, 0 replies; 3+ messages in thread
From: Kalle Valo @ 2023-08-22 13:39 UTC (permalink / raw)
  To: Yue Haibing; +Cc: toke, christophe.jaillet, yuehaibing, linux-wireless

Yue Haibing <yuehaibing@huawei.com> wrote:

> Commit b57ba3b2f7b0 ("ath9k: move ath9k_reload_chainmask_settings to common")
> removed the implementation ath9k_reload_chainmask_settings() but not the declaration.
> Also commit 978f78bf7137 ("ath9k_hw: Move bt_stomp to hw from common.") left behind
> ath9k_cmn_btcoex_bt_stomp() declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

383e1b6a90c3 wifi: ath9k: Remove unused declarations

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230810145222.34364-1-yuehaibing@huawei.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-22 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-10 14:52 [PATCH] wifi: ath9k: Remove unused declarations Yue Haibing
2023-08-15 10:31 ` Toke Høiland-Jørgensen
2023-08-22 13:39 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).