staging: r8188eu: odm SupportPlatform is always ODM_CE
authorMartin Kaiser <martin@kaiser.cx>
Mon, 11 Oct 2021 20:11:59 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Oct 2021 12:27:14 +0000 (14:27 +0200)
commit56578ab25a88c7192e25c99f679ccde37edbd59d
tree00bdbabf1cc175d01cd735b75fa4e5cfb86b9c5d
parentaefb1fc5c18532e782b864f3a429330fa07cd725
staging: r8188eu: odm SupportPlatform is always ODM_CE

Remove the SupportPlatform entry of struct odm_dm_struct and any code
that depends on SupportPlatform != ODM_CE.

Merge functions in places where there was a "top-level function" that
would select a "sub-function" based on SupportPlatform.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211011201159.10252-9-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/HalHWImg8188E_BB.c
drivers/staging/r8188eu/hal/HalHWImg8188E_MAC.c
drivers/staging/r8188eu/hal/HalHWImg8188E_RF.c
drivers/staging/r8188eu/hal/odm.c
drivers/staging/r8188eu/hal/rtl8188e_dm.c
drivers/staging/r8188eu/include/odm.h
drivers/staging/r8188eu/include/odm_precomp.h
drivers/staging/r8188eu/include/odm_types.h