Commit 7eabe41f authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

parasite: don't set ret if it is not going to be read

pie/parasite.c:308:3: warning: Value stored to 'ret' is never read
                ret = -1;
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d1787c84
......@@ -305,7 +305,6 @@ static int parasite_get_proc_fd()
if (sys_mount("proc", proc_mountpoint, "proc", MS_MGC_VAL, NULL)) {
pr_err("mount failed\n");
ret = -1;
goto out_rmdir;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment