2013-02-21 19:46:26

by Johannes Berg

[permalink] [raw]
Subject: [PATCH] wireless: remove unused VHT MCS defines

From: Johannes Berg <[email protected]>

There's an enum with the same values (but slightly
different names except for NOT_SUPPORTED) that is
actually used, so remove the defines.

Signed-off-by: Johannes Berg <[email protected]>
---
include/linux/ieee80211.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 226a5f4..bfc72fd 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1330,11 +1330,6 @@ struct ieee80211_vht_operation {
} __packed;


-#define IEEE80211_VHT_MCS_ZERO_TO_SEVEN_SUPPORT 0
-#define IEEE80211_VHT_MCS_ZERO_TO_EIGHT_SUPPORT 1
-#define IEEE80211_VHT_MCS_ZERO_TO_NINE_SUPPORT 2
-#define IEEE80211_VHT_MCS_NOT_SUPPORTED 3
-
/* 802.11ac VHT Capabilities */
#define IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_3895 0x00000000
#define IEEE80211_VHT_CAP_MAX_MPDU_LENGTH_7991 0x00000001
--
1.8.0



2013-02-28 22:14:35

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] wireless: remove unused VHT MCS defines

On Thu, 2013-02-21 at 20:46 +0100, Johannes Berg wrote:
> From: Johannes Berg <[email protected]>
>
> There's an enum with the same values (but slightly
> different names except for NOT_SUPPORTED) that is
> actually used, so remove the defines.

Applied.

johannes