Skip to content

Commit 6049395

Browse files
Brian GerstIngo Molnar
authored andcommitted
x86/syscall: Remove stray semicolons
No functional change. Suggested-by: Sohil Mehta <[email protected]> Signed-off-by: Brian Gerst <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Sohil Mehta <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Josh Poimboeuf <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 9a93e29 commit 6049395

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/x86/entry/syscall_32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ long ia32_sys_call(const struct pt_regs *regs, unsigned int nr)
4747
#include <asm/syscalls_32.h>
4848
default: return __ia32_sys_ni_syscall(regs);
4949
}
50-
};
50+
}
5151

5252
static __always_inline int syscall_32_enter(struct pt_regs *regs)
5353
{

arch/x86/entry/syscall_64.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ long x64_sys_call(const struct pt_regs *regs, unsigned int nr)
3838
#include <asm/syscalls_64.h>
3939
default: return __x64_sys_ni_syscall(regs);
4040
}
41-
};
41+
}
4242

4343
#ifdef CONFIG_X86_X32_ABI
4444
long x32_sys_call(const struct pt_regs *regs, unsigned int nr)
@@ -47,7 +47,7 @@ long x32_sys_call(const struct pt_regs *regs, unsigned int nr)
4747
#include <asm/syscalls_x32.h>
4848
default: return __x64_sys_ni_syscall(regs);
4949
}
50-
};
50+
}
5151
#endif
5252

5353
static __always_inline bool do_syscall_x64(struct pt_regs *regs, int nr)

0 commit comments

Comments
 (0)