From e00b9bb34e2784f41bdfc7083c7d37ca1b97aca3 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 14 Mar 2017 09:54:04 +1100 Subject: [PATCH] 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 --- drivers/staging/ks7010/ks_wlan_net.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ks7010/ks_wlan_net.c b/drivers/staging/ks7010/ks_wlan_net.c index 5d206832e5e0..648170dc53d5 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++) { -- 2.45.2