Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75726
b: refs/heads/master
c: 18041f4
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent b051182 commit f346bfb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: 663a47430b361f863b515752a97166a7a4b92d35
refs/heads/master: 18041f4775688af073d9b3ab0ffc262c1847e60b
2 changes: 0 additions & 2 deletions trunk/include/linux/kobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ static inline const char * kobject_name(const struct kobject * kobj)
}

extern void kobject_init(struct kobject *);
extern void kobject_cleanup(struct kobject *);

extern int __must_check kobject_add(struct kobject *);
extern void kobject_del(struct kobject *);

Expand Down
9 changes: 4 additions & 5 deletions trunk/lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -436,12 +436,11 @@ struct kobject * kobject_get(struct kobject * kobj)
return kobj;
}

/**
* kobject_cleanup - free kobject resources.
* @kobj: object.
/*
* kobject_cleanup - free kobject resources.
* @kobj: object to cleanup
*/

void kobject_cleanup(struct kobject * kobj)
static void kobject_cleanup(struct kobject *kobj)
{
struct kobj_type * t = get_ktype(kobj);
struct kset * s = kobj->kset;
Expand Down

0 comments on commit f346bfb

Please sign in to comment.