Skip to content

Commit

Permalink
localmodconfig: Use my variable for loop in streamline_config.pl
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Steven Rostedt committed Aug 16, 2012
1 parent e0d2869 commit 45f4c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kconfig/streamline_config.pl
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ sub read_kconfig {
close($kinfile);

# read in any configs that were found.
foreach $kconfig (@kconfigs) {
foreach my $kconfig (@kconfigs) {
if (!defined($read_kconfigs{$kconfig})) {
$read_kconfigs{$kconfig} = 1;
read_kconfig($kconfig);
Expand Down

0 comments on commit 45f4c81

Please sign in to comment.