kobject: make kobject_cleanup be static
No one except the kobject core calls it so make the function static. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -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 *);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user