Skip to content

Commit

Permalink
staging: rtl8192e: Remove dead code in CamResetAllEntry()
Browse files Browse the repository at this point in the history
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mike McCormack authored and Greg Kroah-Hartman committed Sep 21, 2010
1 parent 7aed48d commit c325d98
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions drivers/staging/rtl8192e/r8192E_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit c325d98

Please sign in to comment.