aboutsummaryrefslogtreecommitdiff
path: root/fs/signalfd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-07-26 10:40:55 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-26 11:33:06 -0700
commitf50cadaa8ffa72ad430e5beabe02eb752f3f72a3 (patch)
tree6bceb53482a223006f48e784ca1458375e53d4a5 /fs/signalfd.c
parent87588dd6663b6f306f03f2deaec0d0fd3f0cb26e (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>
Diffstat (limited to 'fs/signalfd.c')
-rw-r--r--fs/signalfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/signalfd.c b/fs/signalfd.c
index 3b07f26d984..7b941abbcde 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);