From: Tobin C. Harding Date: Mon, 13 Mar 2017 22:54:04 +0000 (+1100) Subject: staging: ks7010: remove multiple assignment X-Git-Tag: v4.12-rc1~84^2~534 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e00b9bb34e2784f41bdfc7083c7d37ca1b97aca3;p=thirdparty%2Fkernel%2Flinux.git 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: Tobin C. Harding Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index 5d206832e5e01..648170dc53d54 100644 --- a/drivers/staging/ks7010/ks_wlan_net.c +++ b/drivers/staging/ks7010/ks_wlan_net.c @@ -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++) {