arm64: entry: remove unneeded semicolon in el1_sync_handler()
authorJason Yan <yanaijie@huawei.com>
Sat, 18 Apr 2020 08:19:09 +0000 (16:19 +0800)
committerWill Deacon <will@kernel.org>
Tue, 28 Apr 2020 13:08:57 +0000 (14:08 +0100)
Fix the following coccicheck warning:

arch/arm64/kernel/entry-common.c:97:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20200418081909.41471-1-yanaijie@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/entry-common.c

index c839b5b..bed09a8 100644 (file)
@@ -94,7 +94,7 @@ asmlinkage void notrace el1_sync_handler(struct pt_regs *regs)
                break;
        default:
                el1_inv(regs, esr);
-       };
+       }
 }
 NOKPROBE_SYMBOL(el1_sync_handler);