[PATCH] ath10k: Remove unused macro ATH10K_ROC_TIMEOUT_HZ

YueHaibing yuehaibing at huawei.com
Wed Sep 9 09:58:34 EDT 2020


There is no caller in tree, so can remove it.

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

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,
-- 
2.17.1





More information about the ath10k mailing list