From: Larry Finger Date: Thu, 14 Jul 2011 03:05:57 +0000 (-0500) Subject: staging: rtl8192e: Remove dead code associated with ADHOC_11N X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~864^2~132^2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=07f432338accafb2002911a34309d822e168074a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: rtl8192e: Remove dead code associated with ADHOC_11N Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtllib_softmac.c b/drivers/staging/rtl8192e/rtllib_softmac.c index a5267b246302..420ba4398bc1 100644 --- a/drivers/staging/rtl8192e/rtllib_softmac.c +++ b/drivers/staging/rtl8192e/rtllib_softmac.c @@ -2780,11 +2780,7 @@ void rtllib_start_ibss_wq(void *data) } ieee->state = RTLLIB_NOLINK; -#ifdef ADHOC_11N - ieee->mode = IEEE_N_24G; -#else ieee->mode = IEEE_G; -#endif /* check if we have this cell in our network list */ rtllib_softmac_check_all_nets(ieee);