staging: r8188eu: chip_type is write-only
authorMartin Kaiser <martin@kaiser.cx>
Tue, 5 Oct 2021 20:08:19 +0000 (22:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Oct 2021 12:55:28 +0000 (14:55 +0200)
commit8504b988c020216d70a9be8928a50578eb1c1ded
tree4d498fa6629fe30ed7f545a6571c5b26d4135900
parentd3e45102f9a82f526572585e7fcb1abd6dedbb72
staging: r8188eu: chip_type is write-only

chip_type in struct adapter is never read. Remove the component
and the code to initialise it.

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