Skip to content

Commit

Permalink
kconfig: remove assignment for Kconfig file
Browse files Browse the repository at this point in the history
Pass av[optind] to conf_parse() directly.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed Mar 25, 2021
1 parent ee4c6f0 commit 9a3c3bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/kconfig/conf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9a3c3bc

Please sign in to comment.