On Tue, Feb 11, 2025 at 11:29:03PM -0500, Laine Stump wrote:
It can't fail.
Signed-off-by: Laine Stump <laine(a)redhat.com>
---
src/conf/domain_conf.c | 8 +++-----
src/conf/domain_conf.h | 2 +-
src/qemu/qemu_postparse.c | 6 ++----
3 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 837b306919..5d887054af 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -16483,9 +16483,9 @@ virDomainDefAddController(virDomainDef *def,
* also add companion uhci1, uhci2, and uhci3 controllers at the same
* index.
*
- * Returns 0 on success, -1 on failure.
+ * Always succeeds.
Or just remove this line completely.
Reviewed-by: Martin Kletzander <mkletzan(a)redhat.com>