c480ed
From a72b338a9127075ea9ededcdc201dc87b65fe731 Mon Sep 17 00:00:00 2001
c480ed
Message-Id: <a72b338a9127075ea9ededcdc201dc87b65fe731@dist-git>
c480ed
From: Michal Privoznik <mprivozn@redhat.com>
c480ed
Date: Thu, 27 Jun 2019 15:55:36 +0200
c480ed
Subject: [PATCH] virWaitForDevices: Drop confusing part of comment
c480ed
MIME-Version: 1.0
c480ed
Content-Type: text/plain; charset=UTF-8
c480ed
Content-Transfer-Encoding: 8bit
c480ed
c480ed
It's not true that there is a backup loop. There isn't. Drop this
c480ed
part of the comment to not confuse anybody.
c480ed
c480ed
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
(cherry picked from commit 0cabcd98f1ef82588016a692afbe5a47a4a0b42e)
c480ed
c480ed
https://bugzilla.redhat.com/show_bug.cgi?id=1710575
c480ed
c480ed
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
c480ed
Message-Id: <3faa00d11315ede9c72b32b1aa1f8797e1638dfe.1561643698.git.mprivozn@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
---
c480ed
 src/util/virutil.c | 2 --
c480ed
 1 file changed, 2 deletions(-)
c480ed
c480ed
diff --git a/src/util/virutil.c b/src/util/virutil.c
c480ed
index 88e17e2c0f..d37c1ac632 100644
c480ed
--- a/src/util/virutil.c
c480ed
+++ b/src/util/virutil.c
c480ed
@@ -1637,8 +1637,6 @@ void virWaitForDevices(void)
c480ed
     /*
c480ed
      * NOTE: we ignore errors here; this is just to make sure that any device
c480ed
      * nodes that are being created finish before we try to scan them.
c480ed
-     * If this fails for any reason, we still have the backup of polling for
c480ed
-     * 5 seconds for device nodes.
c480ed
      */
c480ed
     ignore_value(virRun(settleprog, &exitstatus));
c480ed
 }
c480ed
-- 
c480ed
2.22.0
c480ed