staging: r8188eu: remove switches from phy_RF6052_Config_ParaFile()
authorMichael Straube <straube.linux@gmail.com>
Fri, 17 Sep 2021 08:06:15 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Sep 2021 14:32:06 +0000 (16:32 +0200)
commitfc7e745c3588ddd7c14d8392429736c9f8c0451f
treebedf29f69e0cf7010d54fc591c0cf9f23f79ad92
parentf7b687d6b67e5cc20d55a7ddb57f582b60b9a882
staging: r8188eu: remove switches from phy_RF6052_Config_ParaFile()

In function phy_RF6052_Config_ParaFile() the variable eRFPath is always 0
and RF_PATH_A = 0 in this driver. So we can remove the 'switch (eRFPath)'
statements and just keep the code from the RF_PATH_A cases.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210917080615.25819-5-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c