diff options
author | Fabio M. De Francesco <fmdefrancesco@gmail.com> | 2021-09-24 14:26:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-27 17:37:11 +0200 |
commit | ce86bf9dabc2a1ea24033625728393ac3a13dfc7 (patch) | |
tree | 8e7b455be02ae77d16d2fef7240eab316056e83c /drivers/staging | |
parent | db752ce50b53be2ab73a5d65941e8c43034ce8d2 (diff) | |
download | linux-ce86bf9dabc2a1ea24033625728393ac3a13dfc7.tar.bz2 |
staging: r8188eu: remove a comment from usbctrl_vendorreq()
Remove an unnecessary comment from usbctrl_vendorreq().
Co-developed-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Link: https://lore.kernel.org/r/20210924122705.3781-6-fmdefrancesco@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/r8188eu/hal/usb_ops_linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/hal/usb_ops_linux.c b/drivers/staging/r8188eu/hal/usb_ops_linux.c index 35d268c5cd7f..5c9613cc2415 100644 --- a/drivers/staging/r8188eu/hal/usb_ops_linux.c +++ b/drivers/staging/r8188eu/hal/usb_ops_linux.c @@ -70,10 +70,8 @@ static int usbctrl_vendorreq(struct intf_hdl *intf, u16 value, void *data, u16 l } else { /* status != len && status >= 0 */ if (status > 0) { - if (requesttype == REALTEK_USB_VENQT_READ) { - /* For Control read transfer, we have to copy the read data from io_buf to data. */ + if (requesttype == REALTEK_USB_VENQT_READ) memcpy(data, io_buf, len); - } } } |