From 53c87fb920f35f4c441588fece598f5d6c693473 Mon Sep 17 00:00:00 2001 From: Wang Huaqiang <huaqiang.wang@intel.com> Date: Tue, 11 Jun 2019 11:31:07 +0800 Subject: [PATCH] conf: code cleanup, remove empty line and one space Remove some redundant space and line. Signed-off-by: Wang Huaqiang <huaqiang.wang@intel.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com> --- src/conf/domain_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 441eb1a5a2..2b5cebc1ef 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -19572,7 +19572,6 @@ virDomainMemorytuneDefParse(virDomainDefPtr def, VIR_AUTOPTR(virBitmap) vcpus = NULL; VIR_AUTOFREE(xmlNodePtr *) nodes = NULL; VIR_AUTOUNREF(virResctrlAllocPtr) alloc = NULL; - ssize_t i = 0; int n; int ret = -1; @@ -27470,7 +27469,7 @@ virDomainCachetuneDefFormat(virBufferPtr buf, &childrenBuf) < 0) goto cleanup; - for (i = 0; i < resctrl->nmonitors; i ++) { + for (i = 0; i < resctrl->nmonitors; i++) { if (virDomainResctrlMonDefFormatHelper(resctrl->monitors[i], VIR_RESCTRL_MONITOR_TYPE_CACHE, &childrenBuf) < 0)