From: Greg Kroah-Hartman Date: Thu, 25 Oct 2007 04:52:56 +0000 (-0700) Subject: kobject: remove incorrect comment in kobject_rename X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7a83d456a86d559a6347115d206d23774bc152d9;p=linux-beck.git kobject: remove incorrect comment in kobject_rename As pointed out by Kay. Cc: Kay Sievers Signed-off-by: Greg Kroah-Hartman --- diff --git a/lib/kobject.c b/lib/kobject.c index 3590f022a609..9500339ae024 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);