]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
locking: sanlock: drop unused LOCKSPACE_SLEEP
authorJán Tomko <jtomko@redhat.com>
Mon, 27 Jul 2020 23:30:33 +0000 (01:30 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 05:23:45 +0000 (07:23 +0200)
After dropping support for sanlock < 2.4,
this constant is no longer used.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Fixes: c4951694786ecd45424769979762c17e4c8e56d0
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/locking/lock_driver_sanlock.c

index f414e3ec0736505ff83f45a72ea2b5b504589abf..d4816030cf1a45282ff8cd3a19447be6972b77ee 100644 (file)
@@ -185,8 +185,6 @@ virLockManagerSanlockInitLockspace(virLockManagerSanlockDriverPtr driver,
     return ret;
 }
 
-/* How much ms sleep before retrying to add a lockspace? */
-#define LOCKSPACE_SLEEP 100
 /* How many times try adding a lockspace? */
 #define LOCKSPACE_RETRIES 10