staging: rtl8192e: Remove dead code in CamResetAllEntry()

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Mike McCormack 2010-09-20 23:12:29 +09:00 committed by Greg Kroah-Hartman
parent 7aed48d9a7
commit c325d9805d
1 changed files with 1 additions and 12 deletions

View File

@ -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);
}