summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-02 09:51:42 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-02-05 15:50:51 +0300
commit4ffa84b861cbe251ac55de6f538835f6c4a342ad (patch)
treecae3c26b1fad5eccabc467ad435f105267e0bba9 /drivers/acpi
parentdc20c4092049941289683f20626da95fda5a6009 (diff)
downloadlinux-4ffa84b861cbe251ac55de6f538835f6c4a342ad.tar.xz
ACPI: APEI: ERST: remove unneeded semicolon
Eliminate the following coccicheck warning: ./drivers/acpi/apei/erst.c:691:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/apei/erst.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c
index 2e0b0fcad960..b9597216d021 100644
--- a/drivers/acpi/apei/erst.c
+++ b/drivers/acpi/apei/erst.c
@@ -688,7 +688,7 @@ static int __erst_read_from_storage(u64 record_id, u64 offset)
break;
if (erst_timedout(&timeout, SPIN_UNIT))
return -EIO;
- };
+ }
rc = apei_exec_run(&ctx, ACPI_ERST_GET_COMMAND_STATUS);
if (rc)
return rc;