cgroup: fix compile warning
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 May 2016 09:34:38 +0000 (12:34 +0300)
committerTejun Heo <tj@kernel.org>
Thu, 12 May 2016 15:05:27 +0000 (11:05 -0400)
commit09be4c824ebdbf3c043a07d2d9537a0164a1ecfe
tree6bac891b90ab6246aeea02b814c8987992baf9aa
parent3cc9b23c8137e9bb4eaf6d97d825b7f0dc711d0c
cgroup: fix compile warning

commit 4f41fc59620f ("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: 4f41fc59620f ("cgroup, kernfs: make mountinfo show properly scoped path for cgroup namespaces")
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/cgroup.c