Re: [PATCH] kernel: cgroup: fix compile warning:

2016-05-12 Thread Tejun Heo
On Thu, May 12, 2016 at 12:34:38PM +0300, Felipe Balbi wrote: > 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:

[PATCH] kernel: cgroup: fix compile warning:

2016-05-12 Thread Felipe Balbi
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;