* [PATCH] signal/compat: save_altstack: Remove unnecessary semicolon
@ 2013-11-05 21:30 Joe Perches
0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2013-11-05 21:30 UTC (permalink / raw)
To: Al Viro; +Cc: LKML
do { foo } while (0) macros don't need
a trailing semicolon. Remove them.
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/compat.h | 2 +-
include/linux/signal.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 345da00..30c3a85 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -676,7 +676,7 @@ int __compat_save_altstack(compat_stack_t __user *, unsigned long);
put_user_ex(ptr_to_compat((void __user *)t->sas_ss_sp), &__uss->ss_sp); \
put_user_ex(sas_ss_flags(sp), &__uss->ss_flags); \
put_user_ex(t->sas_ss_size, &__uss->ss_size); \
-} while (0);
+} while (0)
asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid,
struct compat_timespec __user *interval);
diff --git a/include/linux/signal.h b/include/linux/signal.h
index 2ac423b..ad934f6 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -440,7 +440,7 @@ int __save_altstack(stack_t __user *, unsigned long);
put_user_ex((void __user *)t->sas_ss_sp, &__uss->ss_sp); \
put_user_ex(sas_ss_flags(sp), &__uss->ss_flags); \
put_user_ex(t->sas_ss_size, &__uss->ss_size); \
-} while (0);
+} while (0)
#ifdef CONFIG_PROC_FS
struct seq_file;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-11-05 21:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 21:30 [PATCH] signal/compat: save_altstack: Remove unnecessary semicolon Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®