diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-02 16:34:38 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 21:49:02 -0500 |
commit | c4144670fd9b34d6eae22c9f83751745898e8243 (patch) | |
tree | da0bbda5707fafdc1d79eb2c851835c777182e89 /drivers/staging | |
parent | 02232f8d2b22708f0651dc515544f4a7ef1e0224 (diff) |
kill daemonize()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/gdm72xx/gdm_usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/gdm72xx/gdm_usb.c b/drivers/staging/gdm72xx/gdm_usb.c index 0c9e8958009b..39db582ab1a6 100644 --- a/drivers/staging/gdm72xx/gdm_usb.c +++ b/drivers/staging/gdm72xx/gdm_usb.c | |||
@@ -701,8 +701,6 @@ static int k_mode_thread(void *arg) | |||
701 | unsigned long flags, flags2, expire; | 701 | unsigned long flags, flags2, expire; |
702 | int ret; | 702 | int ret; |
703 | 703 | ||
704 | daemonize("k_mode_wimax"); | ||
705 | |||
706 | while (!k_mode_stop) { | 704 | while (!k_mode_stop) { |
707 | 705 | ||
708 | spin_lock_irqsave(&k_lock, flags2); | 706 | spin_lock_irqsave(&k_lock, flags2); |
@@ -764,7 +762,7 @@ static struct usb_driver gdm_usb_driver = { | |||
764 | static int __init usb_gdm_wimax_init(void) | 762 | static int __init usb_gdm_wimax_init(void) |
765 | { | 763 | { |
766 | #ifdef CONFIG_WIMAX_GDM72XX_K_MODE | 764 | #ifdef CONFIG_WIMAX_GDM72XX_K_MODE |
767 | kthread_run(k_mode_thread, NULL, "WiMax_thread"); | 765 | kthread_run(k_mode_thread, NULL, "k_mode_wimax"); |
768 | #endif /* CONFIG_WIMAX_GDM72XX_K_MODE */ | 766 | #endif /* CONFIG_WIMAX_GDM72XX_K_MODE */ |
769 | return usb_register(&gdm_usb_driver); | 767 | return usb_register(&gdm_usb_driver); |
770 | } | 768 | } |