From: Mike McCormack Date: Sun, 10 Jul 2011 23:56:37 +0000 (+0900) Subject: rtl8192e: Remove unused debug code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2246698303be8ffb36fc19f4daff1052521e7ea1;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git rtl8192e: Remove unused debug code Signed-off-by: Mike McCormack --- diff --git a/drivers/staging/rtl8192e/rtl_core.c b/drivers/staging/rtl8192e/rtl_core.c index 240b59b2d543..38481a235182 100644 --- a/drivers/staging/rtl8192e/rtl_core.c +++ b/drivers/staging/rtl8192e/rtl_core.c @@ -3188,17 +3188,7 @@ int rtl8192_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } } } -#ifdef JOHN_DEBUG - { - int i; - RT_TRACE(COMP_DBG, "@@ wrq->u pointer = "); - for (i=0;iu.data.length;i++){ - if (i%10==0) RT_TRACE(COMP_DBG, "\n"); - RT_TRACE(COMP_DBG, "%8x|", ((u32*)wrq->u.data.pointer)[i] ); - } - RT_TRACE(COMP_DBG, "\n"); - } -#endif + ret = rtllib_wpa_supplicant_ioctl(priv->rtllib, &wrq->u.data, 0); kfree(ipw); break;