diff options
author | Martin Kaiser <martin@kaiser.cx> | 2021-04-07 19:05:25 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-04-08 09:26:32 +0200 |
commit | b048a8db29446bbf898c496b228be546c6cdcf21 (patch) | |
tree | 2816a8f2d771022e084a4d33c1c60901027db634 /drivers/staging/rtl8188eu/include/usb_ops_linux.h | |
parent | staging: rtl8188eu: remove unused defines (diff) | |
download | linux-dev-b048a8db29446bbf898c496b228be546c6cdcf21.tar.xz linux-dev-b048a8db29446bbf898c496b228be546c6cdcf21.zip |
staging: rtl8188eu: move defines into the .c file
Some of the defines from usb_ops_linux.h are used only inside
usb_ops_linux.c. Move them to the .c file.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210407170531.29356-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/include/usb_ops_linux.h')
-rw-r--r-- | drivers/staging/rtl8188eu/include/usb_ops_linux.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/rtl8188eu/include/usb_ops_linux.h b/drivers/staging/rtl8188eu/include/usb_ops_linux.h index 36a53239d5df..2f4976d251a1 100644 --- a/drivers/staging/rtl8188eu/include/usb_ops_linux.h +++ b/drivers/staging/rtl8188eu/include/usb_ops_linux.h @@ -7,14 +7,6 @@ #ifndef __USB_OPS_LINUX_H__ #define __USB_OPS_LINUX_H__ -#define RTW_USB_CONTROL_MSG_TIMEOUT 500/* ms */ - -#define MAX_USBCTRL_VENDORREQ_TIMES 10 - -#define ALIGNMENT_UNIT 16 -#define MAX_VENDOR_REQ_CMD_SIZE 254 /* 8188cu SIE Support */ -#define MAX_USB_IO_CTL_SIZE (MAX_VENDOR_REQ_CMD_SIZE + ALIGNMENT_UNIT) - #define USB_HIGH_SPEED_BULK_SIZE 512 #define USB_FULL_SPEED_BULK_SIZE 64 |