staging: ks7010: remove multiple assignment
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 22:54:04 +0000 (09:54 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Mar 2017 00:08:15 +0000 (08:08 +0800)
Checkpatch emits CHECK: multiple assignments should be avoided.

Move multiple assignment onto separate lines. Fix comment to use more
natural English.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_wlan_net.c

index 5d206832e5e015c079682c8718e1364a3cac6dbd..648170dc53d540a9cb9ed91c6a2ea5bc0f88e4d1 100644 (file)
@@ -1511,8 +1511,10 @@ static inline char *ks_wlan_translate_scan(struct net_device *dev,
        current_val = current_ev + IW_EV_LCP_LEN;
 
        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 */
        for (i = 0; i < 16; i++) {