[PATCH] signal/compat: save_altstack: Remove unnecessary semicolon

From: Joe Perches
Date: Tue Nov 05 2013 - 16:30:25 EST


do { foo } while (0) macros don't need
a trailing semicolon. Remove them.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
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;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/