Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a83d456 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

kobject: remove incorrect comment in kobject_rename



As pointed out by Kay.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b1c7192d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);