提交 d08ca277 编写于 作者: S Steven Rostedt 提交者: Steven Rostedt

kconfig: unset IKCONFIG_PROC and clean up nesting

Due to cut and paste error IKCONFIG was both set and cleared.
It was suppose to be IKCONFIG_PROC to be cleared.

Also cleaned up if nesting.
Reported-by: NAlan Jenkins <sourcejedi.lkml@googlemail.com>
Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
上级 cdfc4795
......@@ -323,7 +323,7 @@ while(<CIN>) {
# enable IKCONFIG at least as a module
print "CONFIG_IKCONFIG=m\n";
# don't ask about PROC
print "# CONFIG_IKCONFIG is not set\n";
print "# CONFIG_IKCONFIG_PROC is not set\n";
} else {
print;
}
......@@ -333,15 +333,12 @@ while(<CIN>) {
if (/^(CONFIG.*)=(m|y)/) {
if (defined($configs{$1})) {
$setconfigs{$1} = $2;
print;
} elsif ($2 eq "m") {
print "# $1 is not set\n";
} else {
print;
next;
}
} else {
print;
}
print;
}
close(CIN);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册