Commit 409359a1 authored by Malcolm Priestley's avatar Malcolm Priestley Committed by Greg Kroah-Hartman

staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset

Signed-off-by: default avatarMalcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bef6779d
...@@ -122,14 +122,10 @@ void MACvSetBBType(struct vnt_private *pDevice, u8 byType) ...@@ -122,14 +122,10 @@ void MACvSetBBType(struct vnt_private *pDevice, u8 byType)
*/ */
void MACvDisableKeyEntry(struct vnt_private *pDevice, u32 uEntryIdx) void MACvDisableKeyEntry(struct vnt_private *pDevice, u32 uEntryIdx)
{ {
u16 wOffset;
u8 byData; u8 byData;
byData = (u8) uEntryIdx; byData = (u8) uEntryIdx;
wOffset = MISCFIFO_KEYETRY0;
wOffset += (uEntryIdx * MISCFIFO_KEYENTRYSIZE);
//issue write misc fifo command to device //issue write misc fifo command to device
CONTROLnsRequestOut(pDevice, CONTROLnsRequestOut(pDevice,
MESSAGE_TYPE_CLRKEYENTRY, MESSAGE_TYPE_CLRKEYENTRY,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment