staging: r8188eu: replace local OFDM_index with single variable
authorMartin Kaiser <martin@kaiser.cx>
Sun, 6 Feb 2022 16:17:58 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:29:02 +0000 (10:29 +0100)
commit8a1cf651d602f01aba62f3935b17bb09f5db37d3
treea9f65ebdad9e87ff4cbe918b958194103cd76f4f
parent18cb09cb254321f631dcdf5db63a8693a57b3273
staging: r8188eu: replace local OFDM_index with single variable

Replace the local OFDM_index array in the
odm_TXPowerTrackingCallback_ThermalMeter_8188E function
with a single variable. Only its first component is used.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220206161809.423031-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c