Unused get_ve result in cgroup_release_agent_write.

https://virtuozzo.atlassian.net/browse/VSTOR-130116

Feature: !CONFIG_VE build
Signed-off-by: Vladimir Riabchun <[email protected]>
---
 kernel/cgroup/cgroup-v1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/cgroup/cgroup-v1.c b/kernel/cgroup/cgroup-v1.c
index 79f1130a6591..b39884f564a1 100644
--- a/kernel/cgroup/cgroup-v1.c
+++ b/kernel/cgroup/cgroup-v1.c
@@ -586,7 +586,7 @@ static ssize_t cgroup_release_agent_write(struct 
kernfs_open_file *of,
                if (root_cgrp == cgrp)
                        ve = rcu_dereference(root_cgrp->ve_owner);
        }
-       get_ve(ve);
+       (void) get_ve(ve);
        rcu_read_unlock();
 
        if (ve) {
-- 
2.47.1

_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to