lkml.org 
[lkml]   [2017]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl
Fixed three code style warnings (multiple line dereference) reported
by checkpatch.pl script.

Signed-off-by: Andrii Vladyka <tulup@mail.ru>diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c
index 6134eba..a050748 100644
--- a/drivers/staging/wlan-ng/hfa384x_usb.c
+++ b/drivers/staging/wlan-ng/hfa384x_usb.c
@@ -1346,14 +1346,8 @@ hfa384x_docmd(struct hfa384x *hw,
} else if (mode == DOWAIT) {
struct usbctlx_cmd_completor completor;

- result =
- hfa384x_usbctlx_complete_sync(hw, ctlx,
- init_cmd_completor(&completor,
- &ctlx->
- inbuf.
- cmdresp,
- &cmd->
- result));
+ result = hfa384x_usbctlx_complete_sync(hw, ctlx,
+ init_cmd_completor(&completor, &ctlx->inbuf.cmdresp, &cmd->result))
}

done:
\
 
 \ /
  Last update: 2017-03-12 16:30    [W:0.070 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site