From: Larry Finger Date: Wed, 13 Jul 2011 23:50:46 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with SUPPORT_USPD X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~132^2~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=02525969666f1fe4718705d372afaafa9d12b612;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Remove dead code associated with SUPPORT_USPD Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index b4279d7049ec..b9b5a1053e5c 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; }