mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] signal/compat: save_altstack: Remove unnecessary semicolon
Date: Tue, 05 Nov 2013 13:30:18 -0800	[thread overview]
Message-ID: <1383687018.4387.48.camel@joe-AO722> (raw)

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;



                 reply	other threads:[~2013-11-05 21:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1383687018.4387.48.camel@joe-AO722 \
    --to=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@ZenIV.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®