]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0140a67ff042667f7768de3737465ac347df2602
tree6bac891b90ab6246aeea02b814c8987992baf9aa
parent23e4fab8d92b82dfeda1b8ab9e80b1b57c52afae
cgroup: fix compile warning

commit 8b8acd0ffac0 ("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: 8b8acd0ffac0 ("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