firmware: stratix10-svc: Remove unneeded semicolon
authorzhengbin <zhengbin13@huawei.com>
Mon, 16 Dec 2019 03:02:58 +0000 (11:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 20:46:48 +0000 (21:46 +0100)
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Link: https://lore.kernel.org/r/1576465378-11109-1-git-send-email-zhengbin13@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/firmware/stratix10-svc.c

index c6c3140..7ffb42b 100644 (file)
@@ -268,7 +268,7 @@ static void svc_thread_cmd_config_status(struct stratix10_svc_controller *ctrl,
                 */
                msleep(1000);
                count_in_sec--;
-       };
+       }
 
        if (res.a0 == INTEL_SIP_SMC_STATUS_OK && count_in_sec)
                cb_data->status = BIT(SVC_STATUS_RECONFIG_COMPLETED);
@@ -512,7 +512,7 @@ static int svc_normal_to_secure_thread(void *data)
                        break;
 
                }
-       };
+       }
 
        kfree(cbdata);
        kfree(pdata);