Commit cdfe2bdd authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

x86: Sanitize arch_alloc_thread_info

- We have a convention to return -1 on error
- Drop empty line
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 79989de5
......@@ -284,9 +284,8 @@ int arch_alloc_thread_info(CoreEntry *core)
}
return 0;
err:
return 1;
return -1;
}
void arch_free_thread_info(CoreEntry *core)
......
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