From: Mike McCormack Date: Mon, 20 Sep 2010 14:12:29 +0000 (+0900) Subject: staging: rtl8192e: Remove dead code in CamResetAllEntry() X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c325d9805d2e32e818a362e5e66d544f786f98ff;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove dead code in CamResetAllEntry() Signed-off-by: Mike McCormack Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/r8192E_core.c b/drivers/staging/rtl8192e/r8192E_core.c index 34a8450f72bb..01339807850f 100644 --- a/drivers/staging/rtl8192e/r8192E_core.c +++ b/drivers/staging/rtl8192e/r8192E_core.c @@ -253,18 +253,7 @@ static TX_FWINFO_T Tmp_TxFwInfo; void CamResetAllEntry(struct net_device *dev) { - //u8 ucIndex; - u32 ulcommand = 0; - -#if 1 - ulcommand |= BIT31|BIT30; - write_nic_dword(dev, RWCAM, ulcommand); -#else - for(ucIndex=0;ucIndex