Commit e360b5d1 authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

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

parent c453760c
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.
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment