]> xenbits.xensource.com Git - libvirt.git/commitdiff
virWaitForDevices: Drop confusing part of comment
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 17 May 2019 09:10:27 +0000 (11:10 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 17 May 2019 13:08:59 +0000 (15:08 +0200)
It's not true that there is a backup loop. There isn't. Drop this
part of the comment to not confuse anybody.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virutil.c

index e5917d33de416dd470fe0bd874f0e58a8d459646..6123741756b7a5c7e9d25d25d4a6cd5bc3ec1e0a 100644 (file)
@@ -1495,8 +1495,6 @@ void virWaitForDevices(void)
     /*
      * NOTE: we ignore errors here; this is just to make sure that any device
      * nodes that are being created finish before we try to scan them.
-     * If this fails for any reason, we still have the backup of polling for
-     * 5 seconds for device nodes.
      */
     ignore_value(virRun(settleprog, &exitstatus));
 }