staging: r8188eu: remove some dead code
authorMichael Straube <straube.linux@gmail.com>
Fri, 8 Oct 2021 17:26:21 +0000 (19:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Oct 2021 12:57:22 +0000 (14:57 +0200)
commit005eae35415f6f17ce8b2559a02e63388f68e71d
treefb7df3f6599588fb1153bbeadc619130ad0ff262
parent25c1c7c25a7e0ab13e6a5f5bed3ea7f7b55bc963
staging: r8188eu: remove some dead code

In this driver SupportICType is ODM_RTL8188E and SupportInterface is
ODM_ITRF_USB. Remove an if statement that is never true and remove
function odm_DIGbyRSSI_LPS() which is used only in this dead if block.

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