staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
bef6779d62
Коммит
409359a12d
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче