Explorar o código

mac80211: remove unused macros

Compile test only.

Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Shan Wei %!s(int64=14) %!d(string=hai) anos
pai
achega
2d0123a5d6
Modificáronse 3 ficheiros con 0 adicións e 5 borrados
  1. 0 1
      net/mac80211/key.h
  2. 0 3
      net/mac80211/rc80211_pid.h
  3. 0 1
      net/mac80211/work.c

+ 0 - 1
net/mac80211/key.h

@@ -21,7 +21,6 @@
 
 
 #define WEP_IV_LEN		4
 #define WEP_IV_LEN		4
 #define WEP_ICV_LEN		4
 #define WEP_ICV_LEN		4
-#define ALG_TKIP_KEY_LEN	32
 #define ALG_CCMP_KEY_LEN	16
 #define ALG_CCMP_KEY_LEN	16
 #define CCMP_HDR_LEN		8
 #define CCMP_HDR_LEN		8
 #define CCMP_MIC_LEN		8
 #define CCMP_MIC_LEN		8

+ 0 - 3
net/mac80211/rc80211_pid.h

@@ -24,9 +24,6 @@
 /* Fixed point arithmetic shifting amount. */
 /* Fixed point arithmetic shifting amount. */
 #define RC_PID_ARITH_SHIFT		8
 #define RC_PID_ARITH_SHIFT		8
 
 
-/* Fixed point arithmetic factor. */
-#define RC_PID_ARITH_FACTOR		(1 << RC_PID_ARITH_SHIFT)
-
 /* Proportional PID component coefficient. */
 /* Proportional PID component coefficient. */
 #define RC_PID_COEFF_P			15
 #define RC_PID_COEFF_P			15
 /* Integral PID component coefficient. */
 /* Integral PID component coefficient. */

+ 0 - 1
net/mac80211/work.c

@@ -30,7 +30,6 @@
 #define IEEE80211_AUTH_MAX_TRIES 3
 #define IEEE80211_AUTH_MAX_TRIES 3
 #define IEEE80211_ASSOC_TIMEOUT (HZ / 5)
 #define IEEE80211_ASSOC_TIMEOUT (HZ / 5)
 #define IEEE80211_ASSOC_MAX_TRIES 3
 #define IEEE80211_ASSOC_MAX_TRIES 3
-#define IEEE80211_MAX_PROBE_TRIES 5
 
 
 enum work_action {
 enum work_action {
 	WORK_ACT_MISMATCH,
 	WORK_ACT_MISMATCH,