* include/grub/misc.h (grub_div_roundup): Remove as it's unused.

This commit is contained in:
Vladimir Serbinenko 2015-01-20 20:52:41 +01:00
parent c453760c71
commit e360b5d176
2 changed files with 4 additions and 7 deletions

View File

@ -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>
* grub-core/term/gfxterm.c: Avoid division by zero.

View File

@ -390,13 +390,6 @@ grub_abs (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. */
#if defined (GRUB_MACHINE_EMU) || defined (GRUB_MACHINE_QEMU_MIPS)
void EXPORT_FUNC(grub_reboot) (void) __attribute__ ((noreturn));