From 517edfe7905b6294b304f0a196e852f39b772f0f Mon Sep 17 00:00:00 2001 From: Daniel Jared Dominguez 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 --- 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