Skip to contentSkip to conversation

envlist: Remove unused envlist_parse

PATCH New [email protected] 1 participant 1 message Sep 18, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 envlist: Remove unused envlist_parse

From: "Dr. David Alan Gilbert" <[email protected]>

envlist_parse, envlist_parse_set, envlist_parse_unset were added in 2009 but never used, see:
04a6dfebb6 ("linux-user: Add generic env variable handling")

Remove them.

---
 include/qemu/envlist.h |  2 --
 util/envlist.c         | 69 ------------------------------------------
 2 files changed, 71 deletions(-)
include/qemu/envlist.h +0 -2
index 6006dfae44..b2883f6659 100644
@@ -7,8 +7,6 @@ envlist_t *envlist_create(void);
 void envlist_free(envlist_t *);
 int envlist_setenv(envlist_t *, const char *);
 int envlist_unsetenv(envlist_t *, const char *);
-int envlist_parse_set(envlist_t *, const char *);
-int envlist_parse_unset(envlist_t *, const char *);
 char **envlist_to_environ(const envlist_t *, size_t *);
 
 #endif /* ENVLIST_H */
util/envlist.c +0 -69

81 lines not on this page · raw message

Signature · 1 line
2.46.0