diff --git a/lib/uuid/uuid.c b/lib/uuid/uuid.c index 78f7781df..14e80f64a 100644 --- a/lib/uuid/uuid.c +++ b/lib/uuid/uuid.c @@ -34,16 +34,6 @@ int lvid_create(union lvid *lvid, struct id *vgid) return id_create(&lvid->id[1]); } -void uuid_from_num(char *uuid, uint32_t num) -{ - unsigned i; - - for (i = ID_LEN; i; i--) { - uuid[i - 1] = _c[num % (sizeof(_c) - 1)]; - num /= sizeof(_c) - 1; - } -} - int lvid_in_restricted_range(union lvid *lvid) { int i; diff --git a/lib/uuid/uuid.h b/lib/uuid/uuid.h index f22533dda..5dad2548a 100644 --- a/lib/uuid/uuid.h +++ b/lib/uuid/uuid.h @@ -37,8 +37,6 @@ union lvid { int lvid_in_restricted_range(union lvid *lvid); -void uuid_from_num(char *uuid, uint32_t num); - int lvid_create(union lvid *lvid, struct id *vgid); int id_create(struct id *id); int id_valid(struct id *id);