[PATCH 06/11] conf: domain: Reformat XPath queries in virSysinfoChassisParseXML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove the unneeded linebreaks after assignment operator. Only one line
exceeds 80 colums and just by 4 characters.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/conf/domain_conf.c | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index d9b77eddb4..90478f2528 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -12336,16 +12336,11 @@ virSysinfoChassisParseXML(xmlNodePtr node,

     def = g_new0(virSysinfoChassisDef, 1);

-    def->manufacturer =
-        virXPathString("string(entry[@name='manufacturer'])", ctxt);
-    def->version =
-        virXPathString("string(entry[@name='version'])", ctxt);
-    def->serial =
-        virXPathString("string(entry[@name='serial'])", ctxt);
-    def->asset =
-        virXPathString("string(entry[@name='asset'])", ctxt);
-    def->sku =
-        virXPathString("string(entry[@name='sku'])", ctxt);
+    def->manufacturer = virXPathString("string(entry[@name='manufacturer'])", ctxt);
+    def->version = virXPathString("string(entry[@name='version'])", ctxt);
+    def->serial = virXPathString("string(entry[@name='serial'])", ctxt);
+    def->asset = virXPathString("string(entry[@name='asset'])", ctxt);
+    def->sku = virXPathString("string(entry[@name='sku'])", ctxt);

     if (!def->manufacturer && !def->version &&
         !def->serial && !def->asset && !def->sku) {
-- 
2.37.3




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux