diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-10-05 22:08:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-10 14:55:28 +0200 |
commit | 8504b988c020216d70a9be8928a50578eb1c1ded (patch) | |
tree | 4d498fa6629fe30ed7f545a6571c5b26d4135900 /drivers/staging/r8188eu/include/usb_ops.h | |
parent | staging: r8188eu: HardwareType is write-only (diff) | |
download | linux-dev-8504b988c020216d70a9be8928a50578eb1c1ded.tar.xz linux-dev-8504b988c020216d70a9be8928a50578eb1c1ded.zip |
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>
Diffstat (limited to 'drivers/staging/r8188eu/include/usb_ops.h')
-rw-r--r-- | drivers/staging/r8188eu/include/usb_ops.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/usb_ops.h b/drivers/staging/r8188eu/include/usb_ops.h index 1939b781b097..0a1155bbc7b8 100644 --- a/drivers/staging/r8188eu/include/usb_ops.h +++ b/drivers/staging/r8188eu/include/usb_ops.h @@ -19,9 +19,6 @@ #include "usb_ops_linux.h" -void rtl8188eu_set_hw_type(struct adapter *padapter); -#define hal_set_hw_type rtl8188eu_set_hw_type - /* * Increase and check if the continual_urb_error of this @param dvobjprivei * is larger than MAX_CONTINUAL_URB_ERR |