]> git.proxmox.com Git - grub2.git/commitdiff
* include/grub/misc.h (grub_div_roundup): Remove as it's unused.
authorVladimir Serbinenko <phcoder@gmail.com>
Tue, 20 Jan 2015 19:52:41 +0000 (20:52 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Wed, 21 Jan 2015 16:42:14 +0000 (17:42 +0100)
ChangeLog
include/grub/misc.h

index dc882d8584787f94d0155c106a06309139e9a77a..ecbe11dc5b9f6359b16b13b45d6202903f7d8109 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index c6cd4564d86966c9a6dbc0b63fbc86baa9dd20ea..4b6ee06d4745e86b24cd2603d6f84603741afa49 100644 (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));