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

This driver only supports chips that connect via usb. Remove
interface_type from struct adapter, use a constant in the one
place where the interface type is needed.

Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20211005200821.19783-8-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_dm.c
drivers/staging/r8188eu/include/drv_types.h
drivers/staging/r8188eu/include/hal_intf.h
drivers/staging/r8188eu/os_dep/usb_intf.c