summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/mac.h
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@open-mesh.com>2016-07-04 14:37:24 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-07-08 17:03:37 +0300
commit11b0ac2e0c1c943c71fd89a6029a3995a0ca7e76 (patch)
treef66a26a4b192d76417810b3ee26f36b0bc6d8f8e /drivers/net/wireless/ath/ath9k/mac.h
parent7fde51227aed97984bc3a8572b60939d393fc2cb (diff)
downloadlinux-stable-11b0ac2e0c1c943c71fd89a6029a3995a0ca7e76.tar.gz
linux-stable-11b0ac2e0c1c943c71fd89a6029a3995a0ca7e76.tar.bz2
linux-stable-11b0ac2e0c1c943c71fd89a6029a3995a0ca7e76.zip
ath9k: Remove some #defined constants to decrease verbosity
The removed ATH9K_SLOT_TIME_X constants simply map the value in microseconds to the same integer. These constants were not used consistently, so fix the inconsistency issue by replacing all occurances with the integer equivalent. Signed-off-by: Benjamin Berg <benjamin.berg@open-mesh.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/mac.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.h b/drivers/net/wireless/ath/ath9k/mac.h
index 7fbf7f965f61..3bab01435a86 100644
--- a/drivers/net/wireless/ath/ath9k/mac.h
+++ b/drivers/net/wireless/ath/ath9k/mac.h
@@ -65,10 +65,6 @@
#define INIT_SSH_RETRY 32
#define INIT_SLG_RETRY 32
-#define ATH9K_SLOT_TIME_6 6
-#define ATH9K_SLOT_TIME_9 9
-#define ATH9K_SLOT_TIME_20 20
-
#define ATH9K_TXERR_XRETRY 0x01
#define ATH9K_TXERR_FILT 0x02
#define ATH9K_TXERR_FIFO 0x04