tiny signalfd cleanup
authorUlrich Drepper <[email protected]>
Thu, 26 Jul 2007 17:40:55 +0000 (10:40 -0700)
committerLinus Torvalds <[email protected]>
Thu, 26 Jul 2007 18:33:06 +0000 (11:33 -0700)
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 <[email protected]>
Cc: Davide Libenzi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/signalfd.c

index 3b07f26d984d6bc6ee35eb7bce1e834d1e594da1..7b941abbcde09401404a73c5298b73611eea23da 100644 (file)
@@ -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);