[libvirt PATCH 1/9] locking: sanlock: drop unused LOCKSPACE_SLEEP

Ján Tomko jtomko at redhat.com
Tue Jul 28 11:54:20 UTC 2020


After dropping support for sanlock < 2.4,
this constant is no longer used.

Signed-off-by: Ján Tomko <jtomko at redhat.com>
Fixes: c4951694786ecd45424769979762c17e4c8e56d0
---
 src/locking/lock_driver_sanlock.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c
index f414e3ec07..d4816030cf 100644
--- a/src/locking/lock_driver_sanlock.c
+++ b/src/locking/lock_driver_sanlock.c
@@ -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
 
-- 
2.26.2




More information about the libvir-list mailing list