提交 e00b9bb3 编写于 作者: T Tobin C. Harding 提交者: Greg Kroah-Hartman

staging: ks7010: remove multiple assignment

Checkpatch emits CHECK: multiple assignments should be avoided.

Move multiple assignment onto separate lines. Fix comment to use more
natural English.
Signed-off-by: NTobin C. Harding <me@tobin.cc>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b5492d65
...@@ -1511,8 +1511,10 @@ static inline char *ks_wlan_translate_scan(struct net_device *dev, ...@@ -1511,8 +1511,10 @@ static inline char *ks_wlan_translate_scan(struct net_device *dev,
current_val = current_ev + IW_EV_LCP_LEN; current_val = current_ev + IW_EV_LCP_LEN;
iwe.cmd = SIOCGIWRATE; iwe.cmd = SIOCGIWRATE;
/* Those two flags are ignored... */
iwe.u.bitrate.fixed = iwe.u.bitrate.disabled = 0; /* These two flags are ignored... */
iwe.u.bitrate.fixed = 0;
iwe.u.bitrate.disabled = 0;
/* Max 16 values */ /* Max 16 values */
for (i = 0; i < 16; i++) { for (i = 0; i < 16; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册