staging: vt6656: Remove unused variable uScanTime.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 17 May 2014 08:50:34 +0000 (09:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 May 2014 16:58:30 +0000 (09:58 -0700)
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/device.h
drivers/staging/vt6656/main_usb.c

index 8248824..eff50c8 100644 (file)
@@ -607,7 +607,6 @@ struct vnt_private {
        int bBeaconSent;
        int bFixRate;
        u8 byCurrentCh;
-       u32 uScanTime;
 
        CMD_STATE eCommandState;
 
index ea0c9e7..c00a16c 100644 (file)
@@ -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;