aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/os_dep
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-11-22 14:52:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-23 10:58:45 +0100
commit718d2523b998ccc95499537929909e3fa95db870 (patch)
tree65536842249ca9263d1ed81868682f5cc724cdc7 /drivers/staging/rtl8188eu/os_dep
parentstaging: rtl8188eu: correct spelling mistake in a comment (diff)
downloadlinux-dev-718d2523b998ccc95499537929909e3fa95db870.tar.xz
linux-dev-718d2523b998ccc95499537929909e3fa95db870.zip
staging: rtl8188eu: remove unnecessary parentheses
Remove unnecessary parentheses in usb_ops_linux.c. Reported by checkpatch. Signed-off-by: Michael Straube <straube.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 75b7d8c2cc50..73d2d312e8ab 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -25,7 +25,8 @@ static void interrupt_handler_8188eu(struct adapter *adapt, u16 pkt_len, u8 *pbu
/* C2H Event */
if (pbuf[0] != 0)
- memcpy(&(haldata->C2hArray[0]), &(pbuf[USB_INTR_CONTENT_C2H_OFFSET]), 16);
+ memcpy(&haldata->C2hArray[0],
+ &pbuf[USB_INTR_CONTENT_C2H_OFFSET], 16);
}
static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb)