Skip to content

Commit

Permalink
kobject: remove incorrect comment in kobject_rename
Browse files Browse the repository at this point in the history
As pointed out by Kay.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Jan 25, 2008
1 parent b1c7192 commit 7a83d45
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/kobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7a83d45

Please sign in to comment.