Skip to content

Commit 9864936

Browse files
xypronIngo Molnar
authored andcommitted
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 <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: [email protected] Cc: Ingo Molnar <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Tom Lendacky <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected]
1 parent badc619 commit 9864936

File tree

1 file changed

+0
-1
lines changed
  • drivers/firmware/efi

1 file changed

+0
-1
lines changed

drivers/firmware/efi/efi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,6 @@ int __init efi_config_parse_tables(const efi_config_table_t *config_tables,
554554
while (prsv) {
555555
struct linux_efi_memreserve *rsv;
556556
u8 *p;
557-
int i;
558557

559558
/*
560559
* Just map a full page: that is what we will get

0 commit comments

Comments
 (0)