[PATCH 02/30] staging: rtl8192e: Remove dead code associated with SUPPORT_USPD
Larry Finger
Larry.Finger at lwfinger.net
Fri Jul 15 16:01:27 UTC 2011
Signed-off-by: Larry Finger <Larry.Finger at lwfinger.net>
---
drivers/staging/rtl8192e/rtllib_softmac.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c
index 7cd68c2..ec97702 100644
--- a/drivers/staging/rtl8192e/rtllib_softmac.c
+++ b/drivers/staging/rtl8192e/rtllib_softmac.c
@@ -119,15 +119,7 @@ void rtllib_WMM_Info(struct rtllib_device *ieee, u8 **tag_p) {
*tag++ = 0x02;
*tag++ = 0x00;
*tag++ = 0x01;
-#ifdef SUPPORT_USPD
- if (ieee->current_network.wmm_info & 0x80) {
- *tag++ = 0x0f|MAX_SP_Len;
- } else {
- *tag++ = MAX_SP_Len;
- }
-#else
*tag++ = MAX_SP_Len;
-#endif
*tag_p = tag;
}
--
1.7.3.4
More information about the devel
mailing list