diff options
author | Mike McCormack | 2010-09-20 16:12:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-09-21 19:57:01 +0200 |
commit | c325d9805d2e32e818a362e5e66d544f786f98ff (patch) | |
tree | 4cb2556ef1e028d08d1d0bc31c8cf12f63b67926 /drivers/staging | |
parent | staging: rtl8192e: Fix indent of some functions (diff) | |
download | kernel-qcow2-linux-c325d9805d2e32e818a362e5e66d544f786f98ff.tar.gz kernel-qcow2-linux-c325d9805d2e32e818a362e5e66d544f786f98ff.tar.xz kernel-qcow2-linux-c325d9805d2e32e818a362e5e66d544f786f98ff.zip |
staging: rtl8192e: Remove dead code in CamResetAllEntry()
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/rtl8192e/r8192E_core.c | 13 |
1 files changed, 1 insertions, 12 deletions
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<TOTAL_CAM_ENTRY;ucIndex++) - CAM_mark_invalid(dev, ucIndex); - for(ucIndex=0;ucIndex<TOTAL_CAM_ENTRY;ucIndex++) - CAM_empty_entry(dev, ucIndex); -#endif + write_nic_dword(dev, RWCAM, BIT31|BIT30); } |