1
0
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:
Zdenek Kabelac 2017-06-26 23:19:57 +02:00
parent ab6f4649a0
commit 3e331c8e68

View File

@ -2163,12 +2163,6 @@ static int _vg_write_commit_backup(struct volume_group *vg)
return 1;
}
__attribute__ ((__unused__))
static int _vg_write_commit(struct volume_group *vg)
{
return _vg_write_lv_suspend_commit_backup(vg, NULL, 1, 0);
}
/* Write vg of @lv, suspend @lv and commit the vg */
static int _vg_write_lv_suspend_vg_commit(struct logical_volume *lv, int origin_only)
{