diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-09 11:52:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:57:31 -0400 |
commit | 4628803062d93dadc6ba8e801fd075526904a38c (patch) | |
tree | df7081e3f18899c35873b647a582be655b1a5ed1 /include | |
parent | 2f66858a0ae48faf4c8dc19042f3aff52208dc57 (diff) |
kobject core: remove rwsem from struct subsystem
It isn't used at all by the driver core anymore, and the few usages of
it within the kernel have now all been fixed as most of them were using
it incorrectly. So remove it.
Now the whole struct subsys can be removed from the system, but that's
for a later patch...
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/kobject.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index d37cd7f10e3d..a659a97eccf1 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -22,7 +22,6 @@ | |||
22 | #include <linux/sysfs.h> | 22 | #include <linux/sysfs.h> |
23 | #include <linux/compiler.h> | 23 | #include <linux/compiler.h> |
24 | #include <linux/spinlock.h> | 24 | #include <linux/spinlock.h> |
25 | #include <linux/rwsem.h> | ||
26 | #include <linux/kref.h> | 25 | #include <linux/kref.h> |
27 | #include <linux/kernel.h> | 26 | #include <linux/kernel.h> |
28 | #include <linux/wait.h> | 27 | #include <linux/wait.h> |
@@ -177,7 +176,6 @@ extern struct kobject * kset_find_obj(struct kset *, const char *); | |||
177 | 176 | ||
178 | struct subsystem { | 177 | struct subsystem { |
179 | struct kset kset; | 178 | struct kset kset; |
180 | struct rw_semaphore rwsem; | ||
181 | }; | 179 | }; |
182 | 180 | ||
183 | #define decl_subsys(_name,_type,_uevent_ops) \ | 181 | #define decl_subsys(_name,_type,_uevent_ops) \ |