staging: r8188eu: remove constant variable eRFPath
authorMartin Kaiser <martin@kaiser.cx>
Fri, 4 Feb 2022 09:09:41 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:25:50 +0000 (15:25 +0100)
commit74e69e95f13f91c57c9322c7754a85a0e13e9b90
tree998e478bb42b0d182e04652707956335118e5c4a
parent7f2156992a3fadb59bc6cce8b0e654cf6c191abf
staging: r8188eu: remove constant variable eRFPath

In the _PHY_SwChnl8192C function, eRFPath is always zero. Remove the
variable and use 0 in the code. Replace (enum rf_radio_path)0 with
RF_PATH_A.

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