staging: rtl8192e: Remove dead code associated with SUPPORT_USPD
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 13 Jul 2011 23:50:46 +0000 (18:50 -0500)
committerLarry Finger <Larry.Finger@lwfinger.net>
Wed, 24 Aug 2011 01:51:18 +0000 (20:51 -0500)
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
drivers/staging/rtl8192e/rtllib_softmac.c

index b4279d7049ec3fdf6d5d765cf932d688d08e1363..b9b5a1053e5c96269e6dc66ccfd7e4701c0dd68b 100644 (file)
@@ -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;
 }