diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-05 22:24:43 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:11 -0800 |
commit | 4ff6abff832fbc6cb1d769f6106c841bc2b09f63 (patch) | |
tree | 8458c8e29f53b67912edbe2424e43f95556832ce /lib | |
parent | 3f9e3ee9dc3605e5c593b5d708494571fb0d3970 (diff) | |
download | linux-4ff6abff832fbc6cb1d769f6106c841bc2b09f63.tar.gz linux-4ff6abff832fbc6cb1d769f6106c841bc2b09f63.tar.bz2 linux-4ff6abff832fbc6cb1d769f6106c841bc2b09f63.zip |
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 'lib')
-rw-r--r-- | lib/kobject.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/kobject.c b/lib/kobject.c index 98422a3eeffc..96b61d9a9284 100644 --- a/lib/kobject.c +++ b/lib/kobject.c @@ -713,18 +713,6 @@ struct kobject *kobject_kset_add_dir(struct kset *kset, } /** - * kobject_add_dir - add sub directory of object. - * @parent: object in which a directory is created. - * @name: directory name. - * - * Add a plain directory object as child of given object. - */ -struct kobject *kobject_add_dir(struct kobject *parent, const char *name) -{ - return kobject_create_and_add(name, parent); -} - -/** * kset_init - initialize a kset for use * @k: kset */ |