OSDN Git Service

staging: vt6656: Remove unused variable ulTxPower.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 17 May 2014 08:50:32 +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 aefbe93..7e7ac80 100644 (file)
@@ -639,7 +639,6 @@ struct vnt_private {
        u8 bSameBSSCurNum;
        int bRoaming;
        int b11hEable;
-       unsigned long ulTxPower;
 
        /* Encryption */
        NDIS_802_11_WEP_STATUS eEncryptionStatus;
index 68ae97c..3832bcb 100644 (file)
@@ -498,9 +498,6 @@ static int device_init_registers(struct vnt_private *pDevice)
        pDevice->eConfigPHYMode = PHY_TYPE_AUTO;
        pDevice->byBBType = BB_TYPE_11G;
 
-       /* initialize BBP registers */
-       pDevice->ulTxPower = 25;
-
        /* get channel range */
        pDevice->byMinChannel = 1;
        pDevice->byMaxChannel = CB_MAX_CHANNEL;