From: Matt Fleming Date: Thu, 24 Mar 2011 13:56:47 +0000 (+0000) Subject: dlm: Remove superfluous call to recalc_sigpending() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4bcad6c1ef53a9a0224f4654ceb3b9030d0769ec;p=linux-beck.git 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 Signed-off-by: David Teigland --- 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, out_sig: sigprocmask(SIG_SETMASK, &tmpsig, NULL); - recalc_sigpending(); out_free: kfree(kbuf); return error;