summaryrefslogtreecommitdiffstats
path: root/src/lib/utils.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-10-20 13:32:45 (GMT)
committerThomas Graf <tgraf@suug.ch>2010-10-20 13:32:45 (GMT)
commit420438c71f2951b4ad1525de0d805fbf1cc9b15c (patch)
tree790bab914f9cd174d08916a99a474a9e8e24180f /src/lib/utils.c
parenta670ee5d72cc6c2492108edfe131f7547081748f (diff)
downloadlibnl-420438c71f2951b4ad1525de0d805fbf1cc9b15c.zip
libnl-420438c71f2951b4ad1525de0d805fbf1cc9b15c.tar.gz
libnl-420438c71f2951b4ad1525de0d805fbf1cc9b15c.tar.bz2
Remove NL_DUMP_ENV code
Dumping objects as environment variables has never been implemented completely and only increases the size of the library for no real purpose. Integration into scripts is better achieved by implementing a python module anyway.
Diffstat (limited to 'src/lib/utils.c')
-rw-r--r--src/lib/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/utils.c b/src/lib/utils.c
index 9375bfc..ef76c84 100644
--- a/src/lib/utils.c
+++ b/src/lib/utils.c
@@ -125,8 +125,6 @@ int nl_cli_parse_dumptype(const char *str)
return NL_DUMP_DETAILS;
else if (!strcasecmp(str, "stats"))
return NL_DUMP_STATS;
- else if (!strcasecmp(str, "env"))
- return NL_DUMP_ENV;
else
nl_cli_fatal(EINVAL, "Invalid dump type \"%s\".\n", str);