From: Malcolm Priestley Date: Sat, 17 May 2014 08:50:32 +0000 (+0100) Subject: staging: vt6656: Remove unused variable ulTxPower. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a0522e88c057519a6ac38cc1269286950e84ccc3;p=linux-beck.git staging: vt6656: Remove unused variable ulTxPower. 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 aefbe9382ff7..7e7ac8034581 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -639,7 +639,6 @@ struct vnt_private { u8 bSameBSSCurNum; int bRoaming; int b11hEable; - unsigned long ulTxPower; /* Encryption */ NDIS_802_11_WEP_STATUS eEncryptionStatus; diff --git a/drivers/staging/vt6656/main_usb.c b/drivers/staging/vt6656/main_usb.c index 68ae97c5617b..3832bcb3d798 100644 --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -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;