summaryrefslogtreecommitdiffstats
path: root/discover/parser-conf.c
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-04-12 15:11:42 +0000
committerJeremy Kerr <jk@ozlabs.org>2009-06-30 15:29:09 +0800
commitfa6b8cb1d5e9e586370631b879a36cdf49110504 (patch)
tree2f1912711aa61934bea19c7c38134bb2998685c7 /discover/parser-conf.c
parentc5e80bd04c289fbbaad197349dd56c758ac39439 (diff)
downloadtalos-petitboot-fa6b8cb1d5e9e586370631b879a36cdf49110504.tar.gz
talos-petitboot-fa6b8cb1d5e9e586370631b879a36cdf49110504.zip
Remove unneeded conf strip
conf_get_param_pair() already runs conf_strip_str() on value, so remove a redundent conf_strip_str() call. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/parser-conf.c')
-rw-r--r--discover/parser-conf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/discover/parser-conf.c b/discover/parser-conf.c
index e9f436c..14f847d 100644
--- a/discover/parser-conf.c
+++ b/discover/parser-conf.c
@@ -187,11 +187,6 @@ static void conf_parse_buf(struct conf_context *conf)
if (*value == '#')
continue;
- value = conf_strip_str(value);
-
- if (!value)
- continue;
-
conf->process_pair(conf, name, value);
}
OpenPOWER on IntegriCloud