Skip to contentSkip to conversation

master - cleanup: remove unused code

PATCH Zdenek Kabelac 1 participant 1 message Jun 26, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3e331c8e68d5f80cacc194625ad97ee4c26fc3ee
Commit:        3e331c8e68d5f80cacc194625ad97ee4c26fc3ee
Parent:        ab6f4649a0d533b84a7496d88acefa318212d162
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Jun 26 23:19:57 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Jun 27 00:27:25 2017 +0200

cleanup: remove unused code

---
 lib/metadata/raid_manip.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
lib/metadata/raid_manip.c +0 -6
index 158bcf2..774924a 100644
@@ -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)
 {