summaryrefslogtreecommitdiffstats
path: root/include/linux/kobject.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-12-03 21:31:08 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:09 -0800
commit18041f4775688af073d9b3ab0ffc262c1847e60b (patch)
treede6bdbd43525340c618bcfac96163ad441b3c446 /include/linux/kobject.h
parent663a47430b361f863b515752a97166a7a4b92d35 (diff)
downloadop-kernel-dev-18041f4775688af073d9b3ab0ffc262c1847e60b.zip
op-kernel-dev-18041f4775688af073d9b3ab0ffc262c1847e60b.tar.gz
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 4a0d27f..2d19a07 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 *);
OpenPOWER on IntegriCloud