From: Barrett Schonefeld <bschoney(a)utexas.edu>
- src/util/virsysinfo.c
Signed-off-by: Barrett Schonefeld <bschoney(a)utexas.edu>
---
src/util/virsysinfo.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c
index 36317c97eb..45a950c85a 100644
--- a/src/util/virsysinfo.c
+++ b/src/util/virsysinfo.c
@@ -411,7 +411,7 @@ virSysinfoParseARMProcessor(const char *base, virSysinfoDefPtr ret)
cur = strchr(base, ':') + 1;
if (VIR_EXPAND_N(ret->processor, ret->nprocessor, 1) < 0)
- goto error;
+ return -1;
processor = &ret->processor[ret->nprocessor - 1];
virSkipSpaces(&cur);
@@ -425,9 +425,6 @@ virSysinfoParseARMProcessor(const char *base, virSysinfoDefPtr ret)
}
return 0;
-
- error:
- return -1;
}
/* virSysinfoRead for ARMv7
--
2.29.0