From: Ján Tomko Date: Mon, 27 Jul 2020 23:30:33 +0000 (+0200) Subject: locking: sanlock: drop unused LOCKSPACE_SLEEP X-Git-Tag: v6.7.0-rc1~631 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=528f20810288ba23b2f7da0e3cfff65630936379;p=thirdparty%2Flibvirt.git locking: sanlock: drop unused LOCKSPACE_SLEEP After dropping support for sanlock < 2.4, this constant is no longer used. Signed-off-by: Ján Tomko Fixes: c4951694786ecd45424769979762c17e4c8e56d0 Reviewed-by: Jonathon Jongsma --- 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