Sfoglia il codice sorgente

driver core: remove owner field from struct bus_type

This isn't used by anything in the driver core, and by no one in the 204
different usages of it in the kernel tree.  Remove this field so no one
gets any idea that it is needed to be used.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 17 anni fa
parent
commit
cc972e896b
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. 0 1
      include/linux/device.h

+ 0 - 1
include/linux/device.h

@@ -51,7 +51,6 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
 
 
 struct bus_type {
 struct bus_type {
 	const char		* name;
 	const char		* name;
-	struct module		* owner;
 
 
 	struct kset		subsys;
 	struct kset		subsys;
 	struct kset		*drivers_kset;
 	struct kset		*drivers_kset;