kconfig: localmodconfig: remove unused $config
PATCH 1/2 kconfig: localmodconfig: remove unused $config
This is unused since commit cdfc47950a53 ("kconfig: search for a config to base the local(mod|yes)config on").
Having unused $config is confusing because $config is used as a local variable in various sub-routines.
Signed-off-by Masahiro Yamada <[email protected]>
---
scripts/kconfig/streamline_config.pl | 2 -- 1 file changed, 2 deletions(-)
scripts/kconfig/streamline_config.pl +0 -2
@@ -56,8 +56,6 @@ sub dprint { print STDERR @_; } -my $config = ".config"; - my $uname = `uname -r`; chomp $uname;
Signature · 1 line
2.17.1
PATCH 2/2 kconfig: localmodconfig: fix indentation for closing brace
This is the closing brace for the foreach loop. Fix the misleading indentation.
Signed-off-by Masahiro Yamada <[email protected]>
---
scripts/kconfig/streamline_config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/streamline_config.pl +1 -1
@@ -372,7 +372,7 @@ if (defined($lsmod_file)) { $lsmod = "$dir/lsmod"; last; } -} + } if (!defined($lsmod)) { # try just the path $lsmod = "lsmod";
Signature · 1 line
2.17.1