From 66be32fbc1e0e4073d90adb932fb0beadc947f9d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 26 Jan 2024 11:42:44 +0100 Subject: [PATCH] cleanup: remove unused code --- lib/misc/lvm-wrappers.c | 9 --------- lib/misc/lvm-wrappers.h | 2 -- 2 files changed, 11 deletions(-) diff --git a/lib/misc/lvm-wrappers.c b/lib/misc/lvm-wrappers.c index 2e0cfd514..8f7570e03 100644 --- a/lib/misc/lvm-wrappers.c +++ b/lib/misc/lvm-wrappers.c @@ -155,15 +155,6 @@ unsigned lvm_even_rand(unsigned *seed, unsigned max) return ret; } -int clvmd_is_running(void) -{ -#ifdef CLVMD_PIDFILE - return dm_daemon_is_running(CLVMD_PIDFILE); -#else - return 0; -#endif -} - int cmirrord_is_running(void) { #ifdef CMIRRORD_PIDFILE diff --git a/lib/misc/lvm-wrappers.h b/lib/misc/lvm-wrappers.h index 3c45aff87..e30887306 100644 --- a/lib/misc/lvm-wrappers.h +++ b/lib/misc/lvm-wrappers.h @@ -33,8 +33,6 @@ int read_urandom(void *buf, size_t len); */ unsigned lvm_even_rand(unsigned *seed, unsigned max); -int clvmd_is_running(void); int cmirrord_is_running(void); - #endif -- 2.43.5