[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20070614172304.GA2453@tv-sign.ru>
Date: Thu, 14 Jun 2007 21:23:04 +0400
From: Oleg Nesterov <oleg@...sign.ru>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Peter Osterlund <petero2@...ia.com>,
Roland McGrath <roland@...hat.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] kcdrwd: remove unneeded flush_signals() call
kcdrwd() is a kernel thread, all signals are ignored.
Signed-off-by: Oleg Nesterov <oleg@...sign.ru>
--- sig/drivers/block/pktcdvd.c~2_pktcdvd 2007-05-21 13:42:39.000000000 +0400
+++ sig/drivers/block/pktcdvd.c 2007-06-14 20:21:35.000000000 +0400
@@ -1653,9 +1653,6 @@ static int kcdrwd(void *foobar)
}
}
- if (signal_pending(current)) {
- flush_signals(current);
- }
if (kthread_should_stop())
break;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists