* grub-core/net/net.c (grub_net_route_unregister): Remove unused
function. * grub-core/loader/i386/xnu.c (hextoval): Likewise. * grub-core/disk/geli.c (ascii2hex): Likewise.
This commit is contained in:
parent
d5524ca87b
commit
7f084087b2
4 changed files with 7 additions and 30 deletions
|
@ -159,18 +159,6 @@ geli_rekey (struct grub_cryptodisk *dev, grub_uint64_t zoneno)
|
|||
dev->rekey_derived_size);
|
||||
}
|
||||
|
||||
static inline int
|
||||
ascii2hex (char c)
|
||||
{
|
||||
if (c >= '0' && c <= '9')
|
||||
return c - '0';
|
||||
if (c >= 'a' && c <= 'f')
|
||||
return c - 'a' + 10;
|
||||
if (c >= 'A' && c <= 'F')
|
||||
return c - 'A' + 10;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline gcry_err_code_t
|
||||
make_uuid (const struct grub_geli_phdr *header,
|
||||
char *uuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue