Skip to contentSkip to conversation

staging: r8188eu: hal: remove assignment to itself

PATCH New Saurav Girepunje 1 participant 1 message Oct 3, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: hal: remove assignment to itself

Remove assignment of 'pHalData->TRxAntDivType' to itself.

---
 drivers/staging/r8188eu/hal/rtl8188e_hal_init.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +0 -1
index ef165ad98269..bb92bebc63bc 100644
@@ -2101,7 +2101,6 @@ void Hal_ReadAntennaDiversity88E(struct adapter *pAdapter, u8 *PROMContent, bool
 			pHalData->AntDivCfg = 1; /*  0xC1[3] is ignored. */
 	} else {
 		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);
 }

--
2.32.0