Messages in this thread Patch in this message | | | Date | Mon, 23 Jul 2007 23:21:04 -0400 | From | Ulrich Drepper <> | Subject | [PATCH] 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>
--- fs/signalfd.c 2007-06-29 10:24:04.000000000 -0700 +++ fs/signalfd.c-new 2007-07-23 20:17:34.000000000 -0700 @@ -320,7 +320,7 @@ 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |