diff options
Diffstat (limited to 'lib/kobject.c')
-rw-r--r-- | lib/kobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
334 | sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); | 334 | sprintf(devpath_string, "DEVPATH_OLD=%s", devpath); |
335 | envp[0] = devpath_string; | 335 | envp[0] = devpath_string; |
336 | envp[1] = NULL; | 336 | envp[1] = NULL; |
337 | /* Note : if we want to send the new name alone, not the full path, | ||
338 | * we could probably use kobject_name(kobj); */ | ||
339 | 337 | ||
340 | error = sysfs_rename_dir(kobj, new_name); | 338 | error = sysfs_rename_dir(kobj, new_name); |
341 | 339 | ||