Skip to contentSkip to conversation

master - device_mapper: drop unneeded function

PATCH Zdenek Kabelac 1 participant 1 message Jun 14, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=3eff3aa4f8faa5a84de2ba696b15a976fad31852
Commit:        3eff3aa4f8faa5a84de2ba696b15a976fad31852
Parent:        5b515db71ba13d2a4f328be6a97bb309401c5c69
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jun 14 20:47:23 2018 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 14 22:02:01 2018 +0200

device_mapper: drop unneeded function

Subdir without stats.

---
 device_mapper/ioctl/libdm-iface.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
device_mapper/ioctl/libdm-iface.c +0 -14
index bec7f0f..733eece 100644
@@ -624,20 +624,6 @@ static int _dm_inactive_supported(void)
 	return inactive_supported;
 }
 
-int dm_message_supports_precise_timestamps(void)
-{
-	/*
-	 * 4.32.0 supports "precise_timestamps" and "histogram:" options
-	 * to @stats_create messages but lacks the ability to report
-	 * these properties via a subsequent @stats_list: require at
-	 * least 4.33.0 in order to use these features.
-	 */
-	if (dm_check_version() && _dm_version >= 4)
-		if (_dm_version_minor >= 33)
-			return 1;
-	return 0;
-}
-
 void *dm_get_next_target(struct dm_task *dmt, void *next,
 			 uint64_t *start, uint64_t *length,
 			 char **target_type, char **params)