mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
staging: rtl8188eu: remove unnecessary self-assignment
This is a self-assignment which is redundant. Fix this by removing the self-assignment. Addresses-Coverity: ("Self assignment") Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com> Link: https://lore.kernel.org/r/20190920094807.9217-1-connor.kuehl@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
97a0ea7795
commit
fe11afc326
1 changed files with 0 additions and 1 deletions
|
@ -552,7 +552,6 @@ void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, bool
|
||||||
pHalData->AntDivCfg = 1; /* 0xC1[3] is ignored. */
|
pHalData->AntDivCfg = 1; /* 0xC1[3] is ignored. */
|
||||||
} else {
|
} else {
|
||||||
pHalData->AntDivCfg = 0;
|
pHalData->AntDivCfg = 0;
|
||||||
pHalData->TRxAntDivType = pHalData->TRxAntDivType; /* The value in the driver setting of device manager. */
|
|
||||||
}
|
}
|
||||||
DBG_88E("EEPROM : AntDivCfg = %x, TRxAntDivType = %x\n", pHalData->AntDivCfg, pHalData->TRxAntDivType);
|
DBG_88E("EEPROM : AntDivCfg = %x, TRxAntDivType = %x\n", pHalData->AntDivCfg, pHalData->TRxAntDivType);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue