Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f50cadaa8ffa72ad430e5beabe02eb752f3f72a3 Commit: f50cadaa8ffa72ad430e5beabe02eb752f3f72a3 Parent: 87588dd6663b6f306f03f2deaec0d0fd3f0cb26e Author: Ulrich Drepper <[EMAIL PROTECTED]> AuthorDate: Thu Jul 26 10:40:55 2007 -0700 Committer: Linus Torvalds <[EMAIL PROTECTED]> CommitDate: Thu Jul 26 11:33:06 2007 -0700
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 <[EMAIL PROTECTED]> Cc: Davide Libenzi <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]> --- fs/signalfd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/signalfd.c b/fs/signalfd.c index 3b07f26..7b941ab 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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html