diff mbox series

[v2,5/6] uboot_env: remove unused function

Message ID 20220308085352.183941-6-gary.bisson@boundarydevices.com
State Accepted
Headers show
Series [v2,1/6] uboot_env: switch to strchr/strrchr | expand

Commit Message

Gary Bisson March 8, 2022, 8:53 a.m. UTC
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
Changelog v1->v2:
- None
---
 src/uboot_env.c | 9 ---------
 1 file changed, 9 deletions(-)
diff mbox series

Patch

diff --git a/src/uboot_env.c b/src/uboot_env.c
index d83ca96..6fb6c69 100644
--- a/src/uboot_env.c
+++ b/src/uboot_env.c
@@ -144,15 +144,6 @@  static void free_var_entry(struct var_entry *entry)
 	}
 }
 
-static void remove_var(struct vars *envs, const char *varname)
-{
-	struct var_entry *entry;
-
-	entry = __libuboot_get_env(envs, varname);
-
-	free_var_entry(entry);
-}
-
 static enum device_type get_device_type(char *device)
 {
 	enum device_type type = DEVICE_NONE;