Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bcad6c1 authored by Matt Fleming's avatar Matt Fleming Committed by David Teigland
Browse files

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: default avatarMatt Fleming <matt.fleming@linux.intel.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 18bcd0c8
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;