From: Malcolm Priestley Date: Mon, 17 Jun 2013 21:34:39 +0000 (+0100) Subject: staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=409359a12d29c53378c3a61db6188e3e2435f874;p=linux-beck.git staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/mac.c b/drivers/staging/vt6656/mac.c index 5f3ec62f16a1..54414ed27191 100644 --- 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,