diff options
author | Matt Fleming <matt.fleming@linux.intel.com> | 2011-03-24 09:56:47 -0400 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2011-03-28 11:20:17 -0400 |
commit | 4bcad6c1ef53a9a0224f4654ceb3b9030d0769ec (patch) | |
tree | ebb381a3166818f01fe1f0b170564b7576350705 /fs/dlm | |
parent | 18bcd0c8cb7d85a9063b88ec810dc1cdc0974518 (diff) |
dlm: Remove superfluous call to recalc_sigpending()
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r-- | fs/dlm/user.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dlm/user.c b/fs/dlm/user.c index d5ab3fe7c198..e96bf3e9be88 100644 --- a/fs/dlm/user.c +++ b/fs/dlm/user.c | |||
@@ -611,7 +611,6 @@ static ssize_t device_write(struct file *file, const char __user *buf, | |||
611 | 611 | ||
612 | out_sig: | 612 | out_sig: |
613 | sigprocmask(SIG_SETMASK, &tmpsig, NULL); | 613 | sigprocmask(SIG_SETMASK, &tmpsig, NULL); |
614 | recalc_sigpending(); | ||
615 | out_free: | 614 | out_free: |
616 | kfree(kbuf); | 615 | kfree(kbuf); |
617 | return error; | 616 | return error; |