* [PATCH] tiny signalfd cleanup
@ 2007-07-24 3:21 Ulrich Drepper
0 siblings, 0 replies; only message in thread
From: Ulrich Drepper @ 2007-07-24 3:21 UTC (permalink / raw)
To: linux-kernel; +Cc: akpm
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-24 3:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-24 3:21 [PATCH] tiny signalfd cleanup Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®