dlm: Remove superfluous call to recalc_sigpending()
PATCH 1/1 dlm: Remove superfluous call to recalc_sigpending()
From: Matt Fleming <[email protected]>
recalc_sigpending() is called within sigprocmask(), so there is no need call it again after sigprocmask() has returned.
Signed-off-by Matt Fleming <[email protected]>
--- fs/dlm/user.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/dlm/user.c +0 -1
@@ -632,7 +632,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;
Signature · 1 line
1.7.4
David Teigland
maintainerQuoted 4 lines · Matt Fleming
From: Matt Fleming <[email protected]>
recalc_sigpending()is called withinsigprocmask(), so there is no need call it again aftersigprocmask()has returned.
Thanks, pushed to dlm.git next.
Dave