Commit 41b7c4ed authored by Martin Kaiser's avatar Martin Kaiser Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: BW40_24G_Diff is set but not used

parent ef2efa86
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1134,11 +1134,9 @@ void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *PROMContent, bool Auto
	for (TxCount = 0; TxCount < MAX_TX_COUNT; TxCount++) {
		pHalData->OFDM_24G_Diff[0][TxCount] = pwrInfo24G.OFDM_Diff[0][TxCount];
		pHalData->BW20_24G_Diff[0][TxCount] = pwrInfo24G.BW20_Diff[0][TxCount];
		pHalData->BW40_24G_Diff[0][TxCount] = pwrInfo24G.BW40_Diff[0][TxCount];
		DBG_88E("======= TxCount %d =======\n", TxCount);
		DBG_88E("OFDM_24G_Diff[0][%d] = %d\n", TxCount, pHalData->OFDM_24G_Diff[0][TxCount]);
		DBG_88E("BW20_24G_Diff[0][%d] = %d\n", TxCount, pHalData->BW20_24G_Diff[0][TxCount]);
		DBG_88E("BW40_24G_Diff[0][%d] = %d\n", TxCount, pHalData->BW40_24G_Diff[0][TxCount]);
	}

	/*  2010/10/19 MH Add Regulator recognize for CU. */
+0 −1
Original line number Diff line number Diff line
@@ -183,7 +183,6 @@ struct hal_data_8188e {
	/* If only one tx, only BW20 and OFDM are used. */
	s8	OFDM_24G_Diff[RF_PATH_MAX][MAX_TX_COUNT];
	s8	BW20_24G_Diff[RF_PATH_MAX][MAX_TX_COUNT];
	s8	BW40_24G_Diff[RF_PATH_MAX][MAX_TX_COUNT];

	/*  HT 20<->40 Pwr diff */
	u8	TxPwrHt20Diff[RF_PATH_MAX][CHANNEL_MAX_NUMBER];