summaryrefslogtreecommitdiff
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-04 08:31:08 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-25 07:40:09 +0300
commit18041f4775688af073d9b3ab0ffc262c1847e60b (patch)
treede6bdbd43525340c618bcfac96163ad441b3c446 /include/linux/kobject.h
parent663a47430b361f863b515752a97166a7a4b92d35 (diff)
downloadlinux-18041f4775688af073d9b3ab0ffc262c1847e60b.tar.xz
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>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r--include/linux/kobject.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 4a0d27f475d7..2d19a079ee79 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -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 *);