From f331de35fd9c492e31fc8a571bacd9d5a1093afd Mon Sep 17 00:00:00 2001 From: Kevin Hao Date: Mon, 21 Oct 2013 11:12:37 +0800 Subject: [PATCH 1/5] ocf: remove the unneeded invocation of daemonize() In the current kernel, all kthread are created by the kthreadd thread and the invocation of function daemonize() for the kthread function is not needed anymore. Actually function daemonize() has already been killed by commit c4144670 (kill daemonize()) in the latest kernel. Signed-off-by: Kevin Hao --- crypto/ocf/random.c | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/ocf/random.c b/crypto/ocf/random.c index 4bb773f..02eee6a 100644 --- a/crypto/ocf/random.c +++ b/crypto/ocf/random.c @@ -199,7 +199,6 @@ random_proc(void *arg) spin_unlock_irq(¤t->sigmask_lock); sprintf(current->comm, "ocf-random"); #else - daemonize("ocf-random"); allow_signal(SIGKILL); #endif -- 1.8.1.2