apei: erst: remove unneeded semicolon
Subsystems (3)
PATCH 1/1 apei: erst: remove unneeded semicolon
Eliminate the following coccicheck warning:
./drivers/acpi/apei/erst.c:691:2-3: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/acpi/apei/erst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/apei/erst.c +1 -1
@@ -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;
Signature · 1 line
1.8.3.1
Quoted 15 lines · Yang Li
Eliminate the following coccicheck warning:
./drivers/acpi/apei/erst.c:691:2-3: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/acpi/apei/erst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/acpi/apei/erst.c +0
-0
drivers/acpi/apei/erst.c static int __erst_read_from_storage(u64 record_id, u64 offset)
Quoted 9 lines
drivers/acpi/apei/erst.c +1
-2@@ -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; --
Applied as 5.12 material, thanks!