1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: drop unused code

This commit is contained in:
Zdenek Kabelac 2024-03-30 00:08:47 +01:00
parent d39b47d665
commit adfa16c899
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -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);