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

Ján Tomko posted 9 patches 5 years, 6 months ago
[libvirt PATCH 1/9] locking: sanlock: drop unused LOCKSPACE_SLEEP
Posted by Ján Tomko 5 years, 6 months ago
After dropping support for sanlock < 2.4,
this constant is no longer used.

Signed-off-by: Ján Tomko <jtomko@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