]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 aefbe9382ff77703581eb020e15f5f0d73ead6ce..7e7ac8034581155b3ea5baba46896463e492ec93 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 68ae97c5617bb43515d013d2957c6843dbe2616a..3832bcb3d798e218e1614c55786c683c3dd064db 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;