projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aed48d
)
staging: rtl8192e: Remove dead code in CamResetAllEntry()
author
Mike McCormack
<mikem@ring3k.org>
Mon, 20 Sep 2010 14:12:29 +0000
(23:12 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 21 Sep 2010 17:57:01 +0000
(10:57 -0700)
Signed-off-by: Mike McCormack <mikem@ring3k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192e/r8192E_core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/rtl8192e/r8192E_core.c
b/drivers/staging/rtl8192e/r8192E_core.c
index 34a8450f72bb60c4bc6e8309a2f9b18fb9dda6df..01339807850f95eb07e225a4543144315adadc23 100644
(file)
--- 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);
}