staging: r8188eu: remove an unused enum
authorMartin Kaiser <martin@kaiser.cx>
Sat, 21 Aug 2021 16:48:54 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Aug 2021 10:17:00 +0000 (12:17 +0200)
The VENDOR_READ and VENDOR_WRITE defines are not used.

Acked-by: Michael Straube <straube.linux@gmail.com>
Acked-by: Phillip Potter <phil@philpotter.co.uk>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210821164859.4351-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/include/usb_ops.h

index b6a1cd536adf40a9fd0888ea7d99298e8ea10fcf..c53cc54b6b87f61bd3791c527124c97d0875ad9d 100644 (file)
 #define REALTEK_USB_VENQT_CMD_REQ      0x05
 #define REALTEK_USB_VENQT_CMD_IDX      0x00
 
-enum {
-       VENDOR_WRITE = 0x00,
-       VENDOR_READ = 0x01,
-};
 #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)