diff mbox series

ath10k: Remove unused macro ATH10K_ROC_TIMEOUT_HZ

Message ID 20200909135834.38448-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 42a08ff79ff522bb92f92114bbdca45aed28d20c
Delegated to: Kalle Valo
Headers show
Series ath10k: Remove unused macro ATH10K_ROC_TIMEOUT_HZ | expand

Commit Message

Yue Haibing Sept. 9, 2020, 1:58 p.m. UTC
There is no caller in tree, so can remove it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/net/wireless/ath/ath10k/mac.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Kalle Valo Sept. 11, 2020, 9:59 a.m. UTC | #1
YueHaibing <yuehaibing@huawei.com> wrote:

> There is no caller in tree, so can remove it.
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

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

42a08ff79ff5 ath10k: Remove unused macro ATH10K_ROC_TIMEOUT_HZ
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c
index fed8682f266f..5991d0ac41ad 100644
--- a/drivers/net/wireless/ath/ath10k/mac.c
+++ b/drivers/net/wireless/ath/ath10k/mac.c
@@ -7033,8 +7033,6 @@  static int ath10k_conf_tx(struct ieee80211_hw *hw,
 	return ret;
 }
 
-#define ATH10K_ROC_TIMEOUT_HZ (2 * HZ)
-
 static int ath10k_remain_on_channel(struct ieee80211_hw *hw,
 				    struct ieee80211_vif *vif,
 				    struct ieee80211_channel *chan,