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 824882487724c454483a2a86a7691e4dfe120356..eff50c8a7f6c5892bdb03fb1fdf657ca7689fdbd 100644 (file)
@@ -607,7 +607,6 @@ struct vnt_private {
        int bBeaconSent;
        int bFixRate;
        u8 byCurrentCh;
-       u32 uScanTime;
 
        CMD_STATE eCommandState;
 
index ea0c9e7c331e0f15c611a33805eb80d038806342..c00a16c610ead46497d38b4ac1cb9c456ff2c39b 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;