diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-03-21 13:37:07 +1100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-21 08:56:07 +0100 |
commit | 0185f6c9637211757256aef3f519202dcc54b231 (patch) | |
tree | 821a316257eac573186582861598eb077cf43496 /drivers | |
parent | 5a21405ddbd58a4985081b2642837b978a5d7011 (diff) |
staging: ks7010: fix checkpatch MULTIPLE_ASSIGNMENTS
Checkpatch emits CHECK: multiple assignments should be avoided.
Move multiple line assignment to individual lines.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/ks7010/ks_hostif.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index 68e26f42a4c8..3eb0f2e5189e 100644 --- a/drivers/staging/ks7010/ks_hostif.c +++ b/drivers/staging/ks7010/ks_hostif.c @@ -2682,7 +2682,8 @@ int hostif_init(struct ks_wlan_private *priv) INIT_LIST_HEAD(&priv->pmklist.pmk[i].list); priv->sme_i.sme_status = SME_IDLE; - priv->sme_i.qhead = priv->sme_i.qtail = 0; + priv->sme_i.qhead = 0; + priv->sme_i.qtail = 0; #ifdef KS_WLAN_DEBUG priv->sme_i.max_event_count = 0; #endif |