]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/net/net.c (grub_net_route_unregister): Remove unused
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Nov 2013 18:31:22 +0000 (19:31 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 7 Nov 2013 18:31:22 +0000 (19:31 +0100)
function.
* grub-core/loader/i386/xnu.c (hextoval): Likewise.
* grub-core/disk/geli.c (ascii2hex): Likewise.

ChangeLog
grub-core/disk/geli.c
grub-core/loader/i386/xnu.c
grub-core/net/net.c

index 0bec55059689e50f7a0b7d3fc5dd5a716de13f0e..de80a793b625dd6aa28c6159eddc2089b608c5a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-11-07  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * 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.
+
 2013-11-07  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * configure.ac: Run linker tests without -Werror.
index 3050727782cde948f5aebfc286bab123f531b6c0..7e3e09e72886eaf3d81ab37214bb872bdc69f79a 100644 (file)
@@ -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)
index 3b0f890dbf1f33cd2ccad024485b60744cfdbedd..1b22bed9edd6a339d485d3856f8c5465b8d64cfb 100644 (file)
@@ -354,18 +354,6 @@ grub_xnu_devprop_add_property_utf16 (struct grub_xnu_devprop_device_descriptor *
   return GRUB_ERR_NONE;
 }
 
-static inline int
-hextoval (char c)
-{
-  if (c >= '0' && c <= '9')
-    return c - '0';
-  if (c >= 'a' && c <= 'z')
-    return c - 'a' + 10;
-  if (c >= 'A' && c <= 'Z')
-    return c - 'A' + 10;
-  return 0;
-}
-
 void
 grub_cpu_xnu_unload (void)
 {
index 5f60b0722f7361563aab2ec68ad8bbbfabc3ed3a..0e57e93e8218f6e7830d258e30420131e5b97a51 100644 (file)
@@ -415,12 +415,6 @@ grub_net_route_register (struct grub_net_route *route)
                  GRUB_AS_LIST (route));
 }
 
-static inline void
-grub_net_route_unregister (struct grub_net_route *route)
-{
-  grub_list_remove (GRUB_AS_LIST (route));
-}
-
 #define FOR_NET_ROUTES(var) for (var = grub_net_routes; var; var = var->next)
 
 static int