mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-04 08:17:12 +03:00
cleanup: drop unused code
This commit is contained in:
parent
d39b47d665
commit
adfa16c899
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user