[GIT PULL] kconfig: localmodconfig: Minor clean ups to streamline_config.pl

From: Steven Rostedt
Date: Thu Jan 30 2020 - 12:22:25 EST



Linus,

Just a couple of clean ups to streamline_config.pl


Please pull the latest localmodconfig-v5.6 tree, which can be found at:


git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-kconfig.git
localmodconfig-v5.6

Tag SHA1: ae4a98169606cf4b84bce31c4ec0003da8dd60e6
Head SHA1: 37bf46aae4acb76e7cc0fb4d1131ece682f456d4


Masahiro Yamada (2):
kconfig: localmodconfig: Remove unused $config
kconfig: localmodconfig: Fix indentation for closing brace

----
scripts/kconfig/streamline_config.pl | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---------------------------
diff --git a/scripts/kconfig/streamline_config.pl
b/scripts/kconfig/streamline_config.pl index 08d76d7b3b81..e2f8504f5a2d
100755 --- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -56,8 +56,6 @@ sub dprint {
print STDERR @_;
}

-my $config = ".config";
-
my $uname = `uname -r`;
chomp $uname;

@@ -374,7 +372,7 @@ if (defined($lsmod_file)) {
$lsmod = "$dir/lsmod";
last;
}
-}
+ }
if (!defined($lsmod)) {
# try just the path
$lsmod = "lsmod";