efi: Don't shadow 'i' in efi_config_parse_tables()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 28 Feb 2020 12:14:05 +0000 (13:14 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 29 Feb 2020 09:16:57 +0000 (10:16 +0100)
commit98649365e59da18221850e137620d18b50ec99e5
tree9660334389f26a6c260aaa1a25a586886756bbee
parentbadc61982adb6018a48ed8fe32087b9754cae14b
efi: Don't shadow 'i' in efi_config_parse_tables()

Shadowing variables is generally frowned upon.

Let's simply reuse the existing loop counter 'i' instead of shadowing it.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: linux-efi@vger.kernel.org
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20200223221324.156086-1-xypron.glpk@gmx.de
Link: https://lore.kernel.org/r/20200228121408.9075-4-ardb@kernel.org
drivers/firmware/efi/efi.c