diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-07-26 10:40:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 11:33:06 -0700 |
commit | f50cadaa8ffa72ad430e5beabe02eb752f3f72a3 (patch) | |
tree | 6bceb53482a223006f48e784ca1458375e53d4a5 | |
parent | 87588dd6663b6f306f03f2deaec0d0fd3f0cb26e (diff) | |
download | kernel_samsung_smdk4412-f50cadaa8ffa72ad430e5beabe02eb752f3f72a3.zip kernel_samsung_smdk4412-f50cadaa8ffa72ad430e5beabe02eb752f3f72a3.tar.gz kernel_samsung_smdk4412-f50cadaa8ffa72ad430e5beabe02eb752f3f72a3.tar.bz2 |
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 3b07f26..7b941ab 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 if (sizemask != sizeof(sigset_t) || copy_from_user(&sigmask, user_mask, sizeof(sigmask))) - return error = -EINVAL; + return -EINVAL; sigdelsetmask(&sigmask, sigmask(SIGKILL) | sigmask(SIGSTOP)); signotset(&sigmask); |