summaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorRusty Russell2013-09-16 22:18:51 +0200
committerRusty Russell2013-09-23 08:14:58 +0200
commit3f2b9c9cdf389e303b2273679af08aab5f153517 (patch)
tree915b06441005e02d02c6e9f9549bd6449b70d501 /include/linux/module.h
parentMerge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (diff)
downloadkernel-qcow2-linux-3f2b9c9cdf389e303b2273679af08aab5f153517.tar.gz
kernel-qcow2-linux-3f2b9c9cdf389e303b2273679af08aab5f153517.tar.xz
kernel-qcow2-linux-3f2b9c9cdf389e303b2273679af08aab5f153517.zip
module: remove rmmod --wait option.
The option to wait for a module reference count to reach zero was in the initial module implementation, but it was never supported in modprobe (you had to use rmmod --wait). After discussion with Lucas, It has been deprecated (with a 10 second sleep) in kmod for the last year. This finally removes it: the flag will evoke a printk warning and a normal (non-blocking) remove attempt. Cc: Lucas De Marchi <lucas.de.marchi@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/module.h b/include/linux/module.h
index 05f2447f8c15..15cd6b1b211e 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -367,9 +367,6 @@ struct module
/* What modules do I depend on? */
struct list_head target_list;
- /* Who is waiting for us to be unloaded */
- struct task_struct *waiter;
-
/* Destruction function. */
void (*exit)(void);