staging: rtl8192e: Init tx_pwr_level_cck_a and friends directly
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Fri, 20 Jan 2023 20:18:02 +0000 (21:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Jan 2023 18:04:38 +0000 (19:04 +0100)
commite198f3a6d754ab0f49654000cd701c1e148454ef
treee5557e3d99f0f8a8c5df833f43ed07efed353377
parent4f79170fe068740db6a601fb6e949aff8a13bed3
staging: rtl8192e: Init tx_pwr_level_cck_a and friends directly

The arrays EEPROMRfACCKChnl1TxPwLevel, EEPROMRfAOfdmChnlTxPwLevel,
EEPROMRfCCCKChnl1TxPwLevel, EEPROMRfCOfdmChnlTxPwLevel are initialized to
zero and never changed. Delete the arrays and set the variables directly
to zero to avoid CamelCase which is not accepted by checkpatch.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/9874e99fb9a803be2a89e81e2ecd01ba80398ea1.1674244819.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c
drivers/staging/rtl8192e/rtl8192e/rtl_core.h