summaryrefslogtreecommitdiff
path: root/drivers/hotplug
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2002-09-03 07:58:55 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-09-03 07:58:55 -0700
commit1350c3f282ae16eaadc4055d8661241bbd7e4a30 (patch)
tree11e76d07b4cc6450b05fe3f195143a38e94a026e /drivers/hotplug
parent3c14138be1167deced9a40232a392056e85e3706 (diff)
[PATCH] daemonize() calls reparent_to_init cleanup
This makes daemonize() call reparent_to_init() itself, as long suggested for 2.5, and fixes the callers so they don't call it again. Also fixes callers which set current->tty to NULL themselves (also no longer neccessary).
Diffstat (limited to 'drivers/hotplug')
-rw-r--r--drivers/hotplug/ibmphp_hpc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hotplug/ibmphp_hpc.c b/drivers/hotplug/ibmphp_hpc.c
index deb03286c737..bf2e067aaad0 100644
--- a/drivers/hotplug/ibmphp_hpc.c
+++ b/drivers/hotplug/ibmphp_hpc.c
@@ -1025,7 +1025,6 @@ static int hpc_poll_thread (void *data)
debug ("%s - Entry\n", __FUNCTION__);
lock_kernel ();
daemonize ();
- reparent_to_init ();
// New name
strcpy (current->comm, "hpc_poll");