mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
cleanup: remove unused code
This commit is contained in:
parent
4f936f2312
commit
66be32fbc1
@ -155,15 +155,6 @@ unsigned lvm_even_rand(unsigned *seed, unsigned max)
|
|||||||
return ret;
|
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)
|
int cmirrord_is_running(void)
|
||||||
{
|
{
|
||||||
#ifdef CMIRRORD_PIDFILE
|
#ifdef CMIRRORD_PIDFILE
|
||||||
|
@ -33,8 +33,6 @@ int read_urandom(void *buf, size_t len);
|
|||||||
*/
|
*/
|
||||||
unsigned lvm_even_rand(unsigned *seed, unsigned max);
|
unsigned lvm_even_rand(unsigned *seed, unsigned max);
|
||||||
|
|
||||||
int clvmd_is_running(void);
|
|
||||||
int cmirrord_is_running(void);
|
int cmirrord_is_running(void);
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user