mac80211: remove unused macros
authorShan Wei <shanwei@cn.fujitsu.com>
Fri, 4 Mar 2011 07:14:16 +0000 (15:14 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Mar 2011 18:48:30 +0000 (13:48 -0500)
Compile test only.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/key.h
net/mac80211/rc80211_pid.h
net/mac80211/work.c

index 8106aa1b7466f52d2feb65acecf61a5bc0a4be39..4ddbe27eb570c8606a4f6a3aaeece9970324905d 100644 (file)
@@ -21,7 +21,6 @@
 
 #define WEP_IV_LEN             4
 #define WEP_ICV_LEN            4
-#define ALG_TKIP_KEY_LEN       32
 #define ALG_CCMP_KEY_LEN       16
 #define CCMP_HDR_LEN           8
 #define CCMP_MIC_LEN           8
index 1a873f00691acca56edd1b7c954b9e2f4cde0eb9..6510f8ee738eca7303ff77c8583e7659dbfe4040 100644 (file)
@@ -24,9 +24,6 @@
 /* Fixed point arithmetic shifting amount. */
 #define RC_PID_ARITH_SHIFT             8
 
-/* Fixed point arithmetic factor. */
-#define RC_PID_ARITH_FACTOR            (1 << RC_PID_ARITH_SHIFT)
-
 /* Proportional PID component coefficient. */
 #define RC_PID_COEFF_P                 15
 /* Integral PID component coefficient. */
index 204f0a4db96911c41df34a209fa7ead03f4aa511..e73c8cae036b42fec668d3473922164b3e22ef26 100644 (file)
@@ -30,7 +30,6 @@
 #define IEEE80211_AUTH_MAX_TRIES 3
 #define IEEE80211_ASSOC_TIMEOUT (HZ / 5)
 #define IEEE80211_ASSOC_MAX_TRIES 3
-#define IEEE80211_MAX_PROBE_TRIES 5
 
 enum work_action {
        WORK_ACT_MISMATCH,