diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-06 01:24:43 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 23:40:11 -0500 |
commit | 4ff6abff832fbc6cb1d769f6106c841bc2b09f63 (patch) | |
tree | 8458c8e29f53b67912edbe2424e43f95556832ce /include/linux/kobject.h | |
parent | 3f9e3ee9dc3605e5c593b5d708494571fb0d3970 (diff) |
kobject: get rid of kobject_add_dir
kobject_create_and_add is the same as kobject_add_dir, so drop
kobject_add_dir.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/kobject.h')
-rw-r--r-- | include/linux/kobject.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h index 33e7a6142a75..7b09136fb211 100644 --- a/include/linux/kobject.h +++ b/include/linux/kobject.h | |||
@@ -105,7 +105,6 @@ extern void kobject_put(struct kobject *); | |||
105 | 105 | ||
106 | extern struct kobject *kobject_kset_add_dir(struct kset *kset, | 106 | extern struct kobject *kobject_kset_add_dir(struct kset *kset, |
107 | struct kobject *, const char *); | 107 | struct kobject *, const char *); |
108 | extern struct kobject *kobject_add_dir(struct kobject *, const char *); | ||
109 | 108 | ||
110 | extern char * kobject_get_path(struct kobject *, gfp_t); | 109 | extern char * kobject_get_path(struct kobject *, gfp_t); |
111 | 110 | ||