staging: r8188eu: remove UsbRxAggBlock* from struct hal_data_8188e
authorMichael Straube <straube.linux@gmail.com>
Tue, 1 Feb 2022 08:42:58 +0000 (09:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:16:33 +0000 (15:16 +0100)
UsbRxAggBlockCount and UsbRxAggBlockTimeout in struct hal_data_8188e
are set but not used. Remove them.

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

index 24c11c666534b5d788bcd1aecbef16485c602920..1d0d58204c688a443d18a9a0a48928ea83b1dac6 100644 (file)
@@ -53,8 +53,6 @@ void rtl8188eu_interface_configure(struct adapter *adapt)
        else
                haldata->UsbBulkOutSize = USB_FULL_SPEED_BULK_SIZE;/* 64 bytes */
 
-       haldata->UsbRxAggBlockCount     = 8; /* unit : 512b */
-       haldata->UsbRxAggBlockTimeout   = 0x6;
        haldata->UsbRxAggPageCount      = 48; /* uint :128 b 0x0A;      10 = MAX_RX_DMA_BUFFER_SIZE/2/haldata->UsbBulkOutSize */
        haldata->UsbRxAggPageTimeout    = 0x4; /* 6, absolute time = 34ms/(2^6) */
 
index 98d909b6d2177b1f86e91d69590790fad4d52e83..94678dad37ce2167fb122b17f5a6a8f891c85a3a 100644 (file)
@@ -206,10 +206,6 @@ struct hal_data_8188e {
 
        u32     UsbBulkOutSize;
 
-       u8      UsbRxAggBlockCount;     /*  USB Block count. Block size is
-                                        * 512-byte in high speed and 64-byte
-                                        * in full speed */
-       u8      UsbRxAggBlockTimeout;
        u8      UsbRxAggPageCount;      /*  8192C DMA page count */
        u8      UsbRxAggPageTimeout;
 };