Commit 03ddd2eb authored by zhengbin's avatar zhengbin Committed by Greg Kroah-Hartman

firmware: stratix10-svc: Remove unneeded semicolon

Fixes coccicheck warning:

drivers/firmware/stratix10-svc.c:271:2-3: Unneeded semicolon
drivers/firmware/stratix10-svc.c:515:2-3: Unneeded semicolon
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1576465378-11109-1-git-send-email-zhengbin13@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4924ee2
...@@ -268,7 +268,7 @@ static void svc_thread_cmd_config_status(struct stratix10_svc_controller *ctrl, ...@@ -268,7 +268,7 @@ static void svc_thread_cmd_config_status(struct stratix10_svc_controller *ctrl,
*/ */
msleep(1000); msleep(1000);
count_in_sec--; count_in_sec--;
}; }
if (res.a0 == INTEL_SIP_SMC_STATUS_OK && count_in_sec) if (res.a0 == INTEL_SIP_SMC_STATUS_OK && count_in_sec)
cb_data->status = BIT(SVC_STATUS_RECONFIG_COMPLETED); cb_data->status = BIT(SVC_STATUS_RECONFIG_COMPLETED);
...@@ -512,7 +512,7 @@ static int svc_normal_to_secure_thread(void *data) ...@@ -512,7 +512,7 @@ static int svc_normal_to_secure_thread(void *data)
break; break;
} }
}; }
kfree(cbdata); kfree(cbdata);
kfree(pdata); kfree(pdata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment