diff mbox

[06/24] petitboot: Remove unneeded conf strip

Message ID 20090413011136.948216253@am.sony.com
State Accepted
Headers show

Commit Message

Geoff Levand April 13, 2009, 1:11 a.m. UTC
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>
---
 discover/parser-conf.c |    5 -----
 1 file changed, 5 deletions(-)
diff mbox

Patch

--- a/discover/parser-conf.c
+++ b/discover/parser-conf.c
@@ -187,11 +187,6 @@  static void conf_parse_buf(struct conf_c
 		if (*value == '#')
 			continue;
 
-		value = conf_strip_str(value);
-
-		if (!value)
-			continue;
-
 		conf->process_pair(conf, name, value);
 	}