From fa6b8cb1d5e9e586370631b879a36cdf49110504 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Sun, 12 Apr 2009 15:11:42 +0000 Subject: [PATCH] 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 Signed-off-by: Jeremy Kerr --- discover/parser-conf.c | 5 ----- 1 file changed, 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); } -- 2.39.2