diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-30 11:24:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-30 16:10:39 +0200 |
commit | 86949b521fa4e4c88e6ff7be6a1ce2c7c064a0f0 (patch) | |
tree | 8ed4cf215d0cccf517c9c8b636dfd67c0a139032 /drivers/staging/r8188eu/include/usb_ops.h | |
parent | 48f1f36ae153e3e83680ad3d0e65be2d7f8dfd89 (diff) |
staging: r8188eu: remove rtw_usb_control_msg() macro
It is a wrapper around usb_control_msg() that does nothing, so remove
the macro and just call the correct USB function instead in the one
place it is used.
Link: https://lore.kernel.org/r/20210730092417.1014392-12-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/usb_ops.h')
-rw-r--r-- | drivers/staging/r8188eu/include/usb_ops.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/r8188eu/include/usb_ops.h b/drivers/staging/r8188eu/include/usb_ops.h index d5b31e31b62d..6267d0999400 100644 --- a/drivers/staging/r8188eu/include/usb_ops.h +++ b/drivers/staging/r8188eu/include/usb_ops.h @@ -21,10 +21,6 @@ enum { #define MAX_VENDOR_REQ_CMD_SIZE 254 /* 8188cu SIE Support */ #define MAX_USB_IO_CTL_SIZE (MAX_VENDOR_REQ_CMD_SIZE + ALIGNMENT_UNIT) -#define rtw_usb_control_msg(dev, pipe, request, requesttype, \ - value, index, data, size, timeout_ms) \ - usb_control_msg((dev), (pipe), (request), (requesttype), (value),\ - (index), (data), (size), (timeout_ms)) #include <usb_ops_linux.h> void rtl8188eu_set_hw_type(struct adapter *padapter); |