summaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2007-10-24 21:52:56 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-01-24 20:40:04 -0800
commit7a83d456a86d559a6347115d206d23774bc152d9 (patch)
tree559cd343f5ff9d8504867a706cf9ba67bde1b2a7 /lib/kobject.c
parentb1c7192df1b089ed654c76fbf14d7f7dbf4b9616 (diff)
downloadlinux-3.10-7a83d456a86d559a6347115d206d23774bc152d9.tar.gz
linux-3.10-7a83d456a86d559a6347115d206d23774bc152d9.tar.bz2
linux-3.10-7a83d456a86d559a6347115d206d23774bc152d9.zip
kobject: remove incorrect comment in kobject_rename
As pointed out by Kay. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/kobject.c')
-rw-r--r--lib/kobject.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/kobject.c b/lib/kobject.c
index 3590f022a60..9500339ae02 100644
--- a/lib/kobject.c
+++ b/lib/kobject.c
@@ -334,8 +334,6 @@ int kobject_rename(struct kobject * kobj, const char *new_name)
sprintf(devpath_string, "DEVPATH_OLD=%s", devpath);
envp[0] = devpath_string;
envp[1] = NULL;
- /* Note : if we want to send the new name alone, not the full path,
- * we could probably use kobject_name(kobj); */
error = sysfs_rename_dir(kobj, new_name);