]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 17 Jun 2013 21:34:39 +0000 (22:34 +0100)
committerGreg 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

index 5f3ec62f16a1db0325285cb845b6e0c3f37f2dde..54414ed27191710a788e3d3ce610c5718a16e483 100644 (file)
@@ -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,