mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-26 15:54:18 +08:00
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:
parent
bef6779d62
commit
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,
|
||||
|
Loading…
Reference in New Issue
Block a user