projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1c7192
)
kobject: remove incorrect comment in kobject_rename
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 25 Oct 2007 04:52:56 +0000
(21:52 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 25 Jan 2008 04:40:04 +0000
(20:40 -0800)
As pointed out by Kay.
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
lib/kobject.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/kobject.c
b/lib/kobject.c
index 3590f022a609cf7828c259b9485503fd3cda9683..9500339ae0249d29163261bb489475e90a924a09 100644
(file)
--- 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);