staging: vt6656: Remove unused variable byRevId.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
60f8ce8dd6
commit
2486890a93
2 changed files with 1 additions and 8 deletions
|
@ -409,8 +409,6 @@ struct vnt_private {
|
|||
|
||||
u32 rx_bytes;
|
||||
|
||||
u8 byRevId;
|
||||
|
||||
u32 flags;
|
||||
unsigned long Flags;
|
||||
|
||||
|
|
|
@ -387,7 +387,7 @@ static int device_init_registers(struct vnt_private *pDevice)
|
|||
|
||||
pDevice->byTopOFDMBasicRate = RATE_24M;
|
||||
pDevice->byTopCCKBasicRate = RATE_1M;
|
||||
pDevice->byRevId = 0;
|
||||
|
||||
/* target to IF pin while programming to RF chip */
|
||||
pDevice->byCurPwr = 0xFF;
|
||||
|
||||
|
@ -508,11 +508,6 @@ static int device_init_registers(struct vnt_private *pDevice)
|
|||
/* get RFType */
|
||||
pDevice->byRFType = init_rsp->rf_type;
|
||||
|
||||
if ((pDevice->byRFType & RF_EMU) != 0) {
|
||||
/* force change RevID for VT3253 emu */
|
||||
pDevice->byRevId = 0x80;
|
||||
}
|
||||
|
||||
/* load vt3266 calibration parameters in EEPROM */
|
||||
if (pDevice->byRFType == RF_VT3226D0) {
|
||||
if ((pDevice->abyEEPROM[EEP_OFS_MAJOR_VER] == 0x1) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue