efibootmgr/0009-Remove-unused-function-var_num_from_name.patch
Peter Jones 1d4e7048c9 Rebase to current upstream master (in preperation for 0.8.0)
Signed-off-by: Peter Jones <pjones@redhat.com>
2014-08-01 09:50:54 -04:00

31 lines
827 B
Diff

From 517edfe7905b6294b304f0a196e852f39b772f0f Mon Sep 17 00:00:00 2001
From: Daniel Jared Dominguez <Jared_Dominguez@Dell.com>
Date: Mon, 7 Jul 2014 13:58:56 -0500
Subject: [PATCH 09/22] Remove unused function var_num_from_name.
Signed-off-by: Daniel Jared Dominguez <Jared_Dominguez@Dell.com>
---
src/efibootmgr/efibootmgr.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/src/efibootmgr/efibootmgr.c b/src/efibootmgr/efibootmgr.c
index f596d99..03613ab 100644
--- a/src/efibootmgr/efibootmgr.c
+++ b/src/efibootmgr/efibootmgr.c
@@ -72,12 +72,6 @@ static LIST_HEAD(boot_entry_list);
static LIST_HEAD(blk_list);
efibootmgr_opt_t opts;
-static inline void
-var_num_from_name(const char *pattern, char *name, uint16_t *num)
-{
- sscanf(name, pattern, num);
-}
-
static void
free_vars(list_t *head)
{
--
1.9.3