Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68000
b: refs/heads/master
c: e4bc166
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 12, 2007
1 parent 4ec373f commit 1bf6690
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4e8b912541d5372ae049a3b7c1979968e52c40b
refs/heads/master: e4bc16621d82ee1fd3685dcbf889a7c49891847b
1 change: 0 additions & 1 deletion trunk/Documentation/kobject.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ kobj_set_kset_s(obj,subsys)
- Assumes that obj->kobj exists, and is a struct kobject.
- Sets the kset of that kobject to the kset <subsys>.

void subsystem_init(struct kset *s);
int subsystem_register(struct kset *s);
void subsystem_unregister(struct kset *s);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/base/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ int __init classes_init(void)

/* ick, this is ugly, the things we go through to keep from showing up
* in sysfs... */
subsystem_init(&class_obj_subsys);
kset_init(&class_obj_subsys);
if (!class_obj_subsys.kobj.parent)
class_obj_subsys.kobj.parent = &class_obj_subsys.kobj;
return 0;
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ extern struct kset hypervisor_subsys;
#define kobj_set_kset_s(obj,subsys) \
(obj)->kobj.kset = &(subsys)

extern void subsystem_init(struct kset *);
extern int __must_check subsystem_register(struct kset *);
extern void subsystem_unregister(struct kset *);

Expand Down
5 changes: 0 additions & 5 deletions trunk/lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,11 +617,6 @@ struct kobject * kset_find_obj(struct kset * kset, const char * name)
return ret;
}

void subsystem_init(struct kset *s)
{
kset_init(s);
}

int subsystem_register(struct kset *s)
{
return kset_register(s);
Expand Down

0 comments on commit 1bf6690

Please sign in to comment.