Remove unneeded conf strip
authorGeoff Levand <geoffrey.levand@am.sony.com>
Sun, 12 Apr 2009 15:11:42 +0000 (15:11 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Tue, 30 Jun 2009 07:29:09 +0000 (15:29 +0800)
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>
discover/parser-conf.c

index e9f436c6c214b4d84328dc00558000fffce0e2c4..14f847d7b31ec8ba00ebdef89b0727c53de81a38 100644 (file)
@@ -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);
        }