summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-06-19 04:02:59 +0200
committerRichard Weinberger <richard@nod.at>2021-06-19 10:02:50 +0200
commit1aee020155f364ef538370d3392969f1077b9bae (patch)
tree6675e1c32d5defb3343c28a4e58f66ae247c8eec /arch/um
parentum: Remove the repeated declaration (diff)
downloadlinux-1aee020155f364ef538370d3392969f1077b9bae.tar.xz
linux-1aee020155f364ef538370d3392969f1077b9bae.zip
um: remove unneeded semicolon in um_arch.c
Fix following coccicheck warning: ./arch/um/kernel/um_arch.c:284:34-35: Unneeded semicolon Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/kernel/um_arch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/um_arch.c b/arch/um/kernel/um_arch.c
index 20cce10bde51..0a7eb104850a 100644
--- a/arch/um/kernel/um_arch.c
+++ b/arch/um/kernel/um_arch.c
@@ -280,7 +280,7 @@ static void parse_host_cpu_flags(char *line)
int i;
for (i = 0; i < 32*NCAPINTS; i++) {
if ((x86_cap_flags[i] != NULL) && strstr(line, x86_cap_flags[i]))
- set_cpu_cap(&boot_cpu_data, i);;
+ set_cpu_cap(&boot_cpu_data, i);
}
}
static void parse_cache_line(char *line)