[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200707240321.l6O3L4Kk015702@devserv.devel.redhat.com>
Date: Mon, 23 Jul 2007 23:21:04 -0400
From: Ulrich Drepper <drepper@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: akpm@...ux-foundation.org
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@...hat.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists