Skip to content

Commit 2d0123a

Browse files
Shan Weilinvjw
authored andcommitted
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>
1 parent e4b0b32 commit 2d0123a

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎net/mac80211/key.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
#define WEP_IV_LEN 4
2323
#define WEP_ICV_LEN 4
24-
#define ALG_TKIP_KEY_LEN 32
2524
#define ALG_CCMP_KEY_LEN 16
2625
#define CCMP_HDR_LEN 8
2726
#define CCMP_MIC_LEN 8

‎net/mac80211/rc80211_pid.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
/* Fixed point arithmetic shifting amount. */
2525
#define RC_PID_ARITH_SHIFT 8
2626

27-
/* Fixed point arithmetic factor. */
28-
#define RC_PID_ARITH_FACTOR (1 << RC_PID_ARITH_SHIFT)
29-
3027
/* Proportional PID component coefficient. */
3128
#define RC_PID_COEFF_P 15
3229
/* Integral PID component coefficient. */

‎net/mac80211/work.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#define IEEE80211_AUTH_MAX_TRIES 3
3131
#define IEEE80211_ASSOC_TIMEOUT (HZ / 5)
3232
#define IEEE80211_ASSOC_MAX_TRIES 3
33-
#define IEEE80211_MAX_PROBE_TRIES 5
3433

3534
enum work_action {
3635
WORK_ACT_MISMATCH,

0 commit comments

Comments
 (0)