From 0185f6c9637211757256aef3f519202dcc54b231 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 21 Mar 2017 13:37:07 +1100 Subject: [PATCH] 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 --- drivers/staging/ks7010/ks_hostif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2