mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 06:40:54 +07:00
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>
This commit is contained in:
parent
b1c7192df1
commit
7a83d456a8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user