staging: r8188eu: only OFDM_index[0] is used
authorMartin Kaiser <martin@kaiser.cx>
Sun, 6 Feb 2022 16:17:57 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:29:02 +0000 (10:29 +0100)
commit18cb09cb254321f631dcdf5db63a8693a57b3273
tree1dc372156e5816a8d437f214622797f17869348f
parentc2e6b577784d3b1ce91115a71423c94bb2333248
staging: r8188eu: only OFDM_index[0] is used

Replace the OFDM_index array in struct odm_rf_cal 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-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c
drivers/staging/r8188eu/include/odm.h