Skip to contentSkip to conversation

dlm: Remove superfluous call to recalc_sigpending()

PATCH New David Teigland 1 participant 1 message May 23, 2011 Distributed lock manager (DLM)

lore
Share & tools
lore

David Teigland

author maintainer
#0 lore raw

PATCH 1/4 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.

---
 fs/dlm/user.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/dlm/user.c +0 -1
index d5ab3fe..e96bf3e 100644
@@ -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;
Signature · 1 line
1.7.1.1