From: Tobin C. Harding Date: Tue, 21 Mar 2017 02:37:07 +0000 (+1100) Subject: staging: ks7010: fix checkpatch MULTIPLE_ASSIGNMENTS X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0185f6c9637211757256aef3f519202dcc54b231;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Greg Kroah-Hartman --- 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