diff options
author | Michael Straube <straube.linux@gmail.com> | 2022-02-01 09:42:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-04 15:16:34 +0100 |
commit | 7ef976e0dc598189232d2d791645a9c4e7e4f7ef (patch) | |
tree | c9033f2b0583f9315f0a17898887cca1a96def83 /drivers/staging/r8188eu/include/rtl8188e_hal.h | |
parent | eb5e767e568ffecc1a38dbca76fe1b98277553d8 (diff) | |
download | linux-stable-7ef976e0dc598189232d2d791645a9c4e7e4f7ef.tar.gz linux-stable-7ef976e0dc598189232d2d791645a9c4e7e4f7ef.tar.bz2 linux-stable-7ef976e0dc598189232d2d791645a9c4e7e4f7ef.zip |
staging: r8188eu: remove UsbRxAggPage* from struct hal_data_8188e
UsbRxAggPageCount and UsbRxAggPageTimeout in struct hal_data_8188e
are set and never changed. Define these constants and remove the
variables from the hal_data_8188e structure.
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20220201084259.7497-10-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtl8188e_hal.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtl8188e_hal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/rtl8188e_hal.h b/drivers/staging/r8188eu/include/rtl8188e_hal.h index 94678dad37ce..e3c028ff20c7 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_hal.h +++ b/drivers/staging/r8188eu/include/rtl8188e_hal.h @@ -141,6 +141,9 @@ struct txpowerinfo24g { #define EFUSE_PROTECT_BYTES_BANK 16 +#define USB_RXAGG_PAGE_COUNT 48 +#define USB_RXAGG_PAGE_TIMEOUT 0x4 + struct hal_data_8188e { struct HAL_VERSION VersionID; /* current WIFI_PHY values */ @@ -205,9 +208,6 @@ struct hal_data_8188e { u8 bMacPwrCtrlOn; u32 UsbBulkOutSize; - - u8 UsbRxAggPageCount; /* 8192C DMA page count */ - u8 UsbRxAggPageTimeout; }; s32 InitLLTTable(struct adapter *padapter, u8 txpktbuf_bndy); |