staging: rtl8188eu: remove unused defines
authorMartin Kaiser <martin@kaiser.cx>
Wed, 7 Apr 2021 17:05:24 +0000 (19:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Apr 2021 07:26:32 +0000 (09:26 +0200)
Some defines in usb_ops_linux.h are not used by the rtl8188eu driver.
Remove them.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210407170531.29356-3-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/usb_ops_linux.h

index 1a0b38d..36a5323 100644 (file)
@@ -7,15 +7,10 @@
 #ifndef __USB_OPS_LINUX_H__
 #define __USB_OPS_LINUX_H__
 
-#define VENDOR_CMD_MAX_DATA_LEN        254
-
-#define RTW_USB_CONTROL_MSG_TIMEOUT_TEST       10/* ms */
 #define RTW_USB_CONTROL_MSG_TIMEOUT    500/* ms */
 
 #define MAX_USBCTRL_VENDORREQ_TIMES    10
 
-#define RTW_USB_BULKOUT_TIME   5000/* ms */
-
 #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)