diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-08-09 09:23:23 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-08-16 16:09:48 -0400 |
commit | 45f4c81d690a57838822d4d01ad4c03651b76b95 (patch) | |
tree | b683d34441412a209afefbab8ce9277e6cd694b1 /scripts/kconfig | |
parent | e0d28694d33dc7f37832b4fe4fe229655a64f991 (diff) |
localmodconfig: Use my variable for loop in streamline_config.pl
perlcritic complains about $kconfig being reused in the foreach loop
at the end of read_kconfig. Change it to a my variable.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/streamline_config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl index 22b66cada779..39b6314fe634 100644 --- a/scripts/kconfig/streamline_config.pl +++ b/scripts/kconfig/streamline_config.pl | |||
@@ -252,7 +252,7 @@ sub read_kconfig { | |||
252 | close($kinfile); | 252 | close($kinfile); |
253 | 253 | ||
254 | # read in any configs that were found. | 254 | # read in any configs that were found. |
255 | foreach $kconfig (@kconfigs) { | 255 | foreach my $kconfig (@kconfigs) { |
256 | if (!defined($read_kconfigs{$kconfig})) { | 256 | if (!defined($read_kconfigs{$kconfig})) { |
257 | $read_kconfigs{$kconfig} = 1; | 257 | $read_kconfigs{$kconfig} = 1; |
258 | read_kconfig($kconfig); | 258 | read_kconfig($kconfig); |