From: Larry Finger Date: Fri, 15 Jul 2011 03:01:47 +0000 (-0500) Subject: staging: rtl8192e: Remove LOOP_TEST as parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e8bb570266e5e89837f117c08c0636f4b3e3d2b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8192e: Remove LOOP_TEST as parameter Signed-off-by: Larry Finger --- diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index 2a842f425564..7a7e91efebc6 100644 --- a/drivers/staging/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl_core.c @@ -22,7 +22,6 @@ * Contact Information: * wlanfae ******************************************************************************/ -#undef LOOP_TEST #undef RX_DONT_PASS_UL #undef DEBUG_EPROM #undef DEBUG_RX_VERBOSE @@ -559,14 +558,8 @@ void rtl8192_set_chan(struct net_device *dev,short ch) priv->chan = ch; - -#ifndef LOOP_TEST - - if (priv->rf_set_chan) priv->rf_set_chan(dev,priv->chan); - -#endif } void rtl8192_update_cap(struct net_device* dev, u16 cap)