summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/lnet/selftest/timer.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2018-02-20 13:23:37 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:03:23 +0100
commit1b2dad1459e480028a2714439048d8a634132857 (patch)
tree915e48e9230549976811971338ede7cb68b364c1 /drivers/staging/lustre/lnet/selftest/timer.c
parent37d3b407dc14a13ec8bba3a4d7737c92f996e9c0 (diff)
downloadlinux-1b2dad1459e480028a2714439048d8a634132857.tar.bz2
staging: lustre: remove unnecessary cfs_block_allsigs() calls
Threads started by kthread_run() ignore all signals, as kthreadd() calls ignore_signals(), and this is inherited by all children. So there is no need to call cfs_block_allsigs() in functions that are only run from kthread_run(). Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/selftest/timer.c')
-rw-r--r--drivers/staging/lustre/lnet/selftest/timer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/timer.c b/drivers/staging/lustre/lnet/selftest/timer.c
index 9716afeb3c94..1b2c5fc81358 100644
--- a/drivers/staging/lustre/lnet/selftest/timer.c
+++ b/drivers/staging/lustre/lnet/selftest/timer.c
@@ -170,8 +170,6 @@ stt_timer_main(void *arg)
{
int rc = 0;
- cfs_block_allsigs();
-
while (!stt_data.stt_shuttingdown) {
stt_check_timers(&stt_data.stt_prev_slot);