lkml.org 
[lkml]   [2008]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 014/196] kobject: remove incorrect comment in kobject_rename
    Date
    As pointed out by Kay.

    Cc: Kay Sievers <kay.sievers@vrfy.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    lib/kobject.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/lib/kobject.c b/lib/kobject.c
    index 3590f02..9500339 100644
    --- 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);

    --
    1.5.3.8


    \
     
     \ /
      Last update: 2008-01-25 08:21    [W:0.019 / U:91.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site