diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-07-26 13:40:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 14:33:06 -0400 |
commit | f50cadaa8ffa72ad430e5beabe02eb752f3f72a3 (patch) | |
tree | 6bceb53482a223006f48e784ca1458375e53d4a5 | |
parent | 87588dd6663b6f306f03f2deaec0d0fd3f0cb26e (diff) |
tiny signalfd cleanup
This is probably a leftover from a time when the return wasn't there yet.
Now the extra assignment is just irritating.
Signed-off-by: Ulrich Drepper <drepper@redhat.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | fs/signalfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/signalfd.c b/fs/signalfd.c index 3b07f26d984d..7b941abbcde0 100644 --- a/fs/signalfd.c +++ b/fs/signalfd.c | |||
@@ -320,7 +320,7 @@ asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemas | |||
320 | 320 | ||
321 | if (sizemask != sizeof(sigset_t) || | 321 | if (sizemask != sizeof(sigset_t) || |
322 | copy_from_user(&sigmask, user_mask, sizeof(sigmask))) | 322 | copy_from_user(&sigmask, user_mask, sizeof(sigmask))) |
323 | return error = -EINVAL; | 323 | return -EINVAL; |
324 | sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); | 324 | sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); |
325 | signotset(&sigmask); | 325 | signotset(&sigmask); |
326 | 326 | ||