projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef6779
)
staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset
author
Malcolm Priestley
<tvboxspy@gmail.com>
Mon, 17 Jun 2013 21:34:39 +0000
(22:34 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Jun 2013 21:55:32 +0000
(14:55 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/mac.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/mac.c
b/drivers/staging/vt6656/mac.c
index 5f3ec62f16a1db0325285cb845b6e0c3f37f2dde..54414ed27191710a788e3d3ce610c5718a16e483 100644
(file)
--- a/
drivers/staging/vt6656/mac.c
+++ b/
drivers/staging/vt6656/mac.c
@@
-122,14
+122,10
@@
void MACvSetBBType(struct vnt_private *pDevice, u8 byType)
*/
void MACvDisableKeyEntry(struct vnt_private *pDevice, u32 uEntryIdx)
{
- u16 wOffset;
u8 byData;
byData = (u8) uEntryIdx;
- wOffset = MISCFIFO_KEYETRY0;
- wOffset += (uEntryIdx * MISCFIFO_KEYENTRYSIZE);
-
//issue write misc fifo command to device
CONTROLnsRequestOut(pDevice,
MESSAGE_TYPE_CLRKEYENTRY,