x86/PCI: Eliminate remove_e820_regions() common subexpressions
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 4 Mar 2022 00:04:43 +0000 (18:04 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 4 Apr 2022 14:31:44 +0000 (09:31 -0500)
commit93d256cd3c1e93c4093e8015b371e832de4c4146
tree57a16760e70da7cdb60ed365b675f68b9562cbc8
parent3123109284176b1532874591f7c81f3837bbdc17
x86/PCI: Eliminate remove_e820_regions() common subexpressions

Add local variables to reduce repetition later.  No functional change
intended.

Link: https://lore.kernel.org/r/20220304035110.988712-2-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/kernel/resource.c