• Felipe Balbi's avatar
    cgroup: fix compile warning · 09be4c82
    Felipe Balbi authored
    commit 4f41fc59 ("cgroup, kernfs: make mountinfo
     show properly scoped path for cgroup namespaces")
     added the following compile warning:
    
    kernel/cgroup.c: In function ‘cgroup_show_path’:
    kernel/cgroup.c:1634:15: warning: unused variable ‘ret’ [-Wunused-variable]
      int len = 0, ret = 0;
                   ^
    fix it.
    
    Fixes: 4f41fc59 ("cgroup, kernfs: make mountinfo show properly scoped path for cgroup namespaces")
    Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    09be4c82
cgroup.c 174 KB