* include/grub/misc.h (grub_div_roundup): Remove as it's unused.
This commit is contained in:
parent
c453760c71
commit
e360b5d176
2 changed files with 4 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2015-01-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* include/grub/misc.h (grub_div_roundup): Remove as it's unused.
|
||||||
|
|
||||||
2015-01-20 Vladimir Serbinenko <phcoder@gmail.com>
|
2015-01-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/term/gfxterm.c: Avoid division by zero.
|
* grub-core/term/gfxterm.c: Avoid division by zero.
|
||||||
|
|
|
@ -390,13 +390,6 @@ grub_abs (int x)
|
||||||
return (unsigned int) x;
|
return (unsigned int) x;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Rounded-up division */
|
|
||||||
static inline unsigned int
|
|
||||||
grub_div_roundup (unsigned int x, unsigned int y)
|
|
||||||
{
|
|
||||||
return (x + y - 1) / y;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Reboot the machine. */
|
/* Reboot the machine. */
|
||||||
#if defined (GRUB_MACHINE_EMU) || defined (GRUB_MACHINE_QEMU_MIPS)
|
#if defined (GRUB_MACHINE_EMU) || defined (GRUB_MACHINE_QEMU_MIPS)
|
||||||
void EXPORT_FUNC(grub_reboot) (void) __attribute__ ((noreturn));
|
void EXPORT_FUNC(grub_reboot) (void) __attribute__ ((noreturn));
|
||||||
|
|
Loading…
Reference in a new issue