From: Malcolm Priestley Date: Sat, 17 May 2014 08:50:34 +0000 (+0100) Subject: staging: vt6656: Remove unused variable uScanTime. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6983df6fbceb9978d024f6455cfbb9d25022627c;p=linux-beck.git staging: vt6656: Remove unused variable uScanTime. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 824882487724..eff50c8a7f6c 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -607,7 +607,6 @@ struct vnt_private { int bBeaconSent; int bFixRate; u8 byCurrentCh; - u32 uScanTime; CMD_STATE eCommandState; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index ea0c9e7c331e..c00a16c610ea 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -488,9 +488,6 @@ static int device_init_registers(struct vnt_private *pDevice) /* get Auto Fall Back type */ pDevice->byAutoFBCtrl = AUTO_FB_0; - /* set SCAN Time */ - pDevice->uScanTime = WLAN_SCAN_MINITIME; - /* default Auto Mode */ /* pDevice->NetworkType = Ndis802_11Automode; */ pDevice->eConfigPHYMode = PHY_TYPE_AUTO;