[PATCH] kcdrwd: remove unneeded flush_signals() call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kcdrwd() is a kernel thread, all signals are ignored.

Signed-off-by: Oleg Nesterov <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux