From 409359a12d29c53378c3a61db6188e3e2435f874 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Mon, 17 Jun 2013 22:34:39 +0100 Subject: [PATCH] staging: vt6656: mac.c MACvDisableKeyEntry remove dead code wOffset Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/mac.c | 4 ---- 1 file changed, 4 deletions(-) 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, -- 2.39.5