staging: ks7010: fix checkpatch MULTIPLE_ASSIGNMENTS
authorTobin C. Harding <me@tobin.cc>
Tue, 21 Mar 2017 02:37:07 +0000 (13:37 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Mar 2017 07:56:07 +0000 (08:56 +0100)
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>
drivers/staging/ks7010/ks_hostif.c

index 68e26f42a4c89f18b713ce34bed5ac8480714c37..3eb0f2e5189efe97f7bb37151d398220167a2f81 100644 (file)
@@ -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