staging: r8188eu: remove UsbBulkOutSize from struct hal_data_8188e
authorMichael Straube <straube.linux@gmail.com>
Sun, 6 Feb 2022 14:44:07 +0000 (15:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 09:18:17 +0000 (10:18 +0100)
commitbfa4b4e6912f4cc0059ef960e2586a6558a62005
tree8d59c28553bc4fbfa7b39ee599784cb591046bbb
parent3b011b097c386e2a2861256f8f253fce4fbf94c5
staging: r8188eu: remove UsbBulkOutSize from struct hal_data_8188e

UsbBulkOutSize in struct hal_data_8188e is only used to set a local
variable in rtl8188eu_xmitframe_complete(). Set the local variable
directly and remove UsbBulkOutSize from the hal_data_8188e structure.

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