staging: r8188eu: remove dead code from ODM_Write_DIG()
authorMichael Straube <straube.linux@gmail.com>
Sat, 18 Sep 2021 18:18:54 +0000 (20:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Sep 2021 11:41:32 +0000 (13:41 +0200)
commit03e9a558afff8482674d2f04d75fe00bd1171850
tree0fe9aa5c016821eafa881e7fe00ae20dbca938e4
parenteaa51044746d267e090f350dd46ff33e3b01abac
staging: r8188eu: remove dead code from ODM_Write_DIG()

In this driver SupportPlatform is ODM_CE, so code in the
"else if (pDM_Odm->SupportPlatform & (ODM_AP | ODM_ADSL))" is never
executed. Remove it.

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