提交 4bcad6c1 编写于 作者: M Matt Fleming 提交者: David Teigland

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: NMatt Fleming <matt.fleming@linux.intel.com>
Signed-off-by: NDavid Teigland <teigland@redhat.com>
上级 18bcd0c8
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册