staging: r8188eu: support interface is always usb
authorMartin Kaiser <martin@kaiser.cx>
Tue, 5 Oct 2021 20:08:21 +0000 (22:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Oct 2021 12:55:28 +0000 (14:55 +0200)
commit33a47b9d848df6121934b2594827673f57aa1f60
tree68b31020b052559a41261cc07d89dec779ca4015
parentd01c3a1d21d261e0f2905dcdf933b3eade48e10b
staging: r8188eu: support interface is always usb

We set ODM_CMNINFO_INTERFACE to ODM_ITRF_USB as this driver supports
only usb. Therefore, dm_odm->SupportInterface is always ODM_ITRF_USB.

Simplify some if conditions accordingly. Remove/replace two empty
functions.

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