Previous patches rendered 'return 0' at the end of the function a
dead code. Therefore, the code can be rearranged a bit and the
line can be dropped.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Fabiano Fidêncio <fabiano@fidencio.org>
"disabled in firemare.");
return VIR_HOST_VALIDATE_FAILURE(level);
}
- } else {
- virHostMsgFail(level,
- "Unknown if this platform has Secure Guest support");
- return VIR_HOST_VALIDATE_FAILURE(level);
}
- return 0;
+ virHostMsgFail(level,
+ "Unknown if this platform has Secure Guest support");
+ return VIR_HOST_VALIDATE_FAILURE(level);
}