From: John Ferlan Date: Fri, 12 Jan 2018 15:32:41 +0000 (-0500) Subject: util: Remove unnecessary initialization X-Git-Tag: v4.1.0-rc1~190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39b933f197ed635424db78705435c4fe7002539b;p=thirdparty%2Flibvirt.git util: Remove unnecessary initialization VIR_ALLOC will already initialize, so no need to do it again. --- diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c index 855580d446..e8d3371912 100644 --- a/src/util/virsysinfo.c +++ b/src/util/virsysinfo.c @@ -597,8 +597,6 @@ virSysinfoReadS390(void) goto no_memory; } - ret->nprocessor = 0; - ret->processor = NULL; if (virSysinfoParseS390Processor(outbuf, ret) < 0) goto no_memory;