aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-14 04:48:28 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-03-25 13:35:20 +0900
commit9a3c3bc820be102f8bb1ca0e9700633d5b3aeb1f (patch)
tree647bacd720ad1d9968be6e70b7aac708e0a60bd5
parentee4c6f00dcee1bffcb06ffa274251c1467d3efaa (diff)
kconfig: remove assignment for Kconfig file
Pass av[optind] to conf_parse() directly. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--scripts/kconfig/conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
index 9ebc1acaf1ae..42d35da86604 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
@@ -571,8 +571,7 @@ int main(int ac, char **av)
conf_usage(progname);
exit(1);
}
- name = av[optind];
- conf_parse(name);
+ conf_parse(av[optind]);
//zconfdump(stdout);
switch (input_mode) {

Privacy Policy