diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-07 10:42:10 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2021-02-09 02:32:52 +0300 |
commit | 18f6e68548587aa729dcff669321c818665d3def (patch) | |
tree | 21d1abd69fb0162118d402132ca30cc84f3ff644 /tools/testing/selftests/x86 | |
parent | 8a94b4ea28a3a6a506228f426746b1f4df62e625 (diff) | |
download | linux-18f6e68548587aa729dcff669321c818665d3def.tar.xz |
selftests/x86/ldt_gdt: remove unneeded semicolon
Eliminate the following coccicheck warning:
./tools/testing/selftests/x86/ldt_gdt.c:610: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: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/selftests/x86')
-rw-r--r-- | tools/testing/selftests/x86/ldt_gdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/x86/ldt_gdt.c b/tools/testing/selftests/x86/ldt_gdt.c index 1aef72df20a1..3a29346e1452 100644 --- a/tools/testing/selftests/x86/ldt_gdt.c +++ b/tools/testing/selftests/x86/ldt_gdt.c @@ -607,7 +607,7 @@ static void do_multicpu_tests(void) failures++; asm volatile ("mov %0, %%ss" : : "rm" (orig_ss)); - }; + } ftx = 100; /* Kill the thread. */ syscall(SYS_futex, &ftx, FUTEX_WAKE, 0, NULL, NULL, 0); |