dlm: Remove superfluous call to recalc_sigpending()
authorMatt Fleming <matt.fleming@linux.intel.com>
Thu, 24 Mar 2011 13:56:47 +0000 (13:56 +0000)
committerDavid Teigland <teigland@redhat.com>
Mon, 28 Mar 2011 15:20:17 +0000 (10:20 -0500)
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>
fs/dlm/user.c

index d5ab3fe..e96bf3e 100644 (file)
@@ -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;