Driver core: remove kset_set_kset_s

This macro is only used by the driver core and is held over from when we
had subsystems.  It is not needed anymore.


Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman
2007-09-12 15:06:57 -07:00
parent d6b05b84ed
commit 27f20e5e4e
2 changed files with 1 additions and 15 deletions

View File

@@ -139,7 +139,7 @@ int sysdev_class_register(struct sysdev_class * cls)
kobject_name(&cls->kset.kobj));
INIT_LIST_HEAD(&cls->drivers);
cls->kset.kobj.parent = &system_subsys.kobj;
kset_set_kset_s(cls, system_subsys);
cls->kset.kobj.kset = &system_subsys;
return kset_register(&cls->kset);
}