Skip to contentSkip to conversation

dev-next - device_mapper: remove unused lines

PATCH David Teigland 1 participant 1 message Mar 31, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f1e8437c59882a71a9a6e005d188a12a35f0cf9b
Commit:        f1e8437c59882a71a9a6e005d188a12a35f0cf9b
Parent:        1cedbaf13778de02e38b5dc80a7af246b7ec83e5
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Mar 29 22:02:45 2021 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Mar 30 13:07:51 2021 +0200

device_mapper: remove unused lines

No need for versioning history in internal version.

---
 device_mapper/datastruct/bitset.c | 15 -----------
 device_mapper/ioctl/libdm-iface.c | 49 ----------------------------------
 device_mapper/libdm-deptree.c     | 55 ---------------------------------------
 3 files changed, 119 deletions(-)
device_mapper/datastruct/bitset.c +0 -15
index fc2c3c39c..c99927cc1 100644
@@ -242,18 +242,3 @@ bad:
 	}
 	return NULL;
 }
-
-#if defined(__GNUC__)
-/*
- * Maintain backward compatibility with older versions that did not
- * accept a 'min_num_bits' argument to dm_bitset_parse_list().
- */
-dm_bitset_t dm_bitset_parse_list_v1_02_129(const char *str, struct dm_pool *mem);
-dm_bitset_t dm_bitset_parse_list_v1_02_129(const char *str, struct dm_pool *mem)
-{
-	return dm_bitset_parse_list(str, mem, 0);
-}
-
-#else /* if defined(__GNUC__) */
-
-#endif
device_mapper/ioctl/libdm-iface.c +0 -49

52 lines not on this page · raw message

device_mapper/libdm-deptree.c +0 -55

61 lines not on this page · raw message