Skip to content

Commit

Permalink
dlm: Remove superfluous call to recalc_sigpending()
Browse files Browse the repository at this point in the history
recalc_sigpending() is called within sigprocmask(), so there is no
need call it again after sigprocmask() has returned.

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Signed-off-by: David Teigland <teigland@redhat.com>
  • Loading branch information
Matt Fleming authored and David Teigland committed Mar 28, 2011
1 parent 18bcd0c commit 4bcad6c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/dlm/user.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,6 @@ static ssize_t device_write(struct file *file, const char __user *buf,

out_sig:
sigprocmask(SIG_SETMASK, &tmpsig, NULL);
recalc_sigpending();
out_free:
kfree(kbuf);
return error;
Expand Down

0 comments on commit 4bcad6c

Please sign in to comment.