diff options
author | Geoff Levand <geoffrey.levand@am.sony.com> | 2009-04-12 15:11:42 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2009-06-30 15:29:09 +0800 |
commit | fa6b8cb1d5e9e586370631b879a36cdf49110504 (patch) | |
tree | 2f1912711aa61934bea19c7c38134bb2998685c7 /discover | |
parent | c5e80bd04c289fbbaad197349dd56c758ac39439 (diff) | |
download | petitboot-fa6b8cb1d5e9e586370631b879a36cdf49110504.zip petitboot-fa6b8cb1d5e9e586370631b879a36cdf49110504.tar.gz |
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')
-rw-r--r-- | discover/parser-conf.c | 5 |
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); } |