]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: remove a constant variable
authorMartin Kaiser <martin@kaiser.cx>
Mon, 10 Jan 2022 12:46:31 +0000 (13:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:18:42 +0000 (16:18 +0100)
commit42ddabb50d56d5c9a152b2aa800f41eed0bbea3c
tree64aafac38528eaa709d8f072bc4d06d591696dae
parent37776e56b29bf6f414e75d540b5ab03ec731d65a
staging: r8188eu: remove a constant variable

The eRFPath variable in phy_RF6052_Config_ParaFile is always 0.

Remove the variable and use 0 directly. (enum rf_radio_path)eRFPath can
be replaced with RF_PATH_A, which is defined as 0.

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