staging: r8188eu: remove constant function parameter
authorMartin Kaiser <martin@kaiser.cx>
Mon, 10 Jan 2022 12:46:33 +0000 (13:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Jan 2022 15:18:42 +0000 (16:18 +0100)
commit1f9bd3991ba6142f0ca616299993cb7eb66e037d
tree8f54d5214cffd9db057958591c5b1780fd708365
parent25d5e8f7bab4831306511af6ca44fbf67db4fa2f
staging: r8188eu: remove constant function parameter

The only caller of ODM_ConfigRFWithHeaderFile sets rfpath to RF_PATH_A.
Remove the parameter and the check for RF_PATH_A inside the function.

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