From 9a309289b24afc1edb8f2be67efd7f91d163da81 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 13 Jul 2014 10:42:44 +0100 Subject: [PATCH] staging: vt6656: remove unused variables bCmdClear and bNeedRadioOFF Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6656/device.h | 2 -- drivers/staging/vt6656/wcmd.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index a6eeebc6fe95..a1ed376acac2 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -411,8 +411,6 @@ struct vnt_private { u32 uCmdEnqueueIdx; u32 cbFreeCmdQueue; int bCmdRunning; - int bCmdClear; - int bNeedRadioOFF; unsigned long key_entry_inuse; diff --git a/drivers/staging/vt6656/wcmd.c b/drivers/staging/vt6656/wcmd.c index c2da8cceff10..fa7c7b654cbd 100644 --- a/drivers/staging/vt6656/wcmd.c +++ b/drivers/staging/vt6656/wcmd.c @@ -211,5 +211,4 @@ void vResetCommandTimer(struct vnt_private *priv) priv->uCmdEnqueueIdx = 0; priv->command_state = WLAN_CMD_IDLE; priv->bCmdRunning = false; - priv->bCmdClear = false; }