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:
parent
7aed48d9a7
commit
c325d9805d
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue