[Libguestfs] [PATCH 6/7] v2v: utils: Remove unused function compare_app2_version_min.
Richard W.M. Jones
rjones at redhat.com
Thu Oct 29 19:12:24 UTC 2015
---
v2v/utils.ml | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/v2v/utils.ml b/v2v/utils.ml
index 7949995..939a45f 100644
--- a/v2v/utils.ml
+++ b/v2v/utils.ml
@@ -206,16 +206,6 @@ let compare_app2_versions app1 app2 =
compare_version app1.Guestfs.app2_release app2.Guestfs.app2_release
)
-and compare_app2_version_min app1 (min_epoch, min_version, min_release) =
- let i = compare app1.Guestfs.app2_epoch min_epoch in
- if i <> 0 then i
- else (
- let i = compare_version app1.Guestfs.app2_version min_version in
- if i <> 0 then i
- else
- compare_version app1.Guestfs.app2_release min_release
- )
-
let remove_duplicates xs =
let h = Hashtbl.create (List.length xs) in
let rec loop = function
--
2.5.0
More information about the Libguestfs
mailing list