diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2012-11-21 10:24:30 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-21 14:16:04 -0500 |
commit | 6940c9bed1b4d3840e7cabc31104548a12f8dbd0 (patch) | |
tree | dfad58e7824908b91e1a0d80a1fdbbda837fd6dc /drivers | |
parent | 580bdac386daa25e0432cbb4078d1cc3919127e3 (diff) |
brcmsmac: Remove unused wlc_prio2prec_map and _BRCMS_PREC_* constants
Fixes sparse warning:
drivers/net/wireless/brcm80211/brcmsmac/main.c:308:10: sparse: symbol 'wlc_prio2prec_map' was not declared. Should it be static?
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmsmac/main.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index 50c87d011a40..c21cee3ab250 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c | |||
@@ -123,21 +123,6 @@ | |||
123 | 123 | ||
124 | #define BRCMS_TEMPSENSE_PERIOD 10 /* 10 second timeout */ | 124 | #define BRCMS_TEMPSENSE_PERIOD 10 /* 10 second timeout */ |
125 | 125 | ||
126 | /* precedences numbers for wlc queues. These are twice as may levels as | ||
127 | * 802.1D priorities. | ||
128 | * Odd numbers are used for HI priority traffic at same precedence levels | ||
129 | * These constants are used ONLY by wlc_prio2prec_map. Do not use them | ||
130 | * elsewhere. | ||
131 | */ | ||
132 | #define _BRCMS_PREC_NONE 0 /* None = - */ | ||
133 | #define _BRCMS_PREC_BK 2 /* BK - Background */ | ||
134 | #define _BRCMS_PREC_BE 4 /* BE - Best-effort */ | ||
135 | #define _BRCMS_PREC_EE 6 /* EE - Excellent-effort */ | ||
136 | #define _BRCMS_PREC_CL 8 /* CL - Controlled Load */ | ||
137 | #define _BRCMS_PREC_VI 10 /* Vi - Video */ | ||
138 | #define _BRCMS_PREC_VO 12 /* Vo - Voice */ | ||
139 | #define _BRCMS_PREC_NC 14 /* NC - Network Control */ | ||
140 | |||
141 | /* synthpu_dly times in us */ | 126 | /* synthpu_dly times in us */ |
142 | #define SYNTHPU_DLY_APHY_US 3700 | 127 | #define SYNTHPU_DLY_APHY_US 3700 |
143 | #define SYNTHPU_DLY_BPHY_US 1050 | 128 | #define SYNTHPU_DLY_BPHY_US 1050 |
@@ -301,18 +286,6 @@ static const u8 wme_ac2fifo[] = { | |||
301 | TX_AC_BK_FIFO | 286 | TX_AC_BK_FIFO |
302 | }; | 287 | }; |
303 | 288 | ||
304 | /* 802.1D Priority to precedence queue mapping */ | ||
305 | const u8 wlc_prio2prec_map[] = { | ||
306 | _BRCMS_PREC_BE, /* 0 BE - Best-effort */ | ||
307 | _BRCMS_PREC_BK, /* 1 BK - Background */ | ||
308 | _BRCMS_PREC_NONE, /* 2 None = - */ | ||
309 | _BRCMS_PREC_EE, /* 3 EE - Excellent-effort */ | ||
310 | _BRCMS_PREC_CL, /* 4 CL - Controlled Load */ | ||
311 | _BRCMS_PREC_VI, /* 5 Vi - Video */ | ||
312 | _BRCMS_PREC_VO, /* 6 Vo - Voice */ | ||
313 | _BRCMS_PREC_NC, /* 7 NC - Network Control */ | ||
314 | }; | ||
315 | |||
316 | static const u16 xmtfifo_sz[][NFIFO] = { | 289 | static const u16 xmtfifo_sz[][NFIFO] = { |
317 | /* corerev 17: 5120, 49152, 49152, 5376, 4352, 1280 */ | 290 | /* corerev 17: 5120, 49152, 49152, 5376, 4352, 1280 */ |
318 | {20, 192, 192, 21, 17, 5}, | 291 | {20, 192, 192, 21, 17, 5}, |