mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmlockd: drop return 1 from void function
When compiling code without lvmlockd, the void function lockd_free_lv_after_updatei() should not return any value.
This commit is contained in:
parent
e96d6b7442
commit
d07e273aff
@ -273,7 +273,6 @@ static inline int lockd_free_lv_after_update(struct cmd_context *cmd, struct vol
|
||||
|
||||
static inline void lockd_free_removed_lvs(struct cmd_context *cmd, struct volume_group *vg, int remove_success)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
static inline const char *lockd_running_lock_type(struct cmd_context *cmd, int *found_multiple)
|
||||
|
Loading…
Reference in New Issue
Block a user