ia64/PCI: Remove unused 'addr' and fix build warning
authorMatt Fleming <matt@codeblueprint.co.uk>
Wed, 4 May 2016 11:17:47 +0000 (12:17 +0100)
committerTony Luck <tony.luck@intel.com>
Thu, 5 May 2016 17:29:14 +0000 (10:29 -0700)
commit1bba3ff90842cf55313a64a8a22e6cca0b3fdcb7
tree636fc08b5ca1b6b3558ce7809a5a564042d49464
parent18c25526c9cd4041e8e5acba811cffa606c175b7
ia64/PCI: Remove unused 'addr' and fix build warning

Ever since commit 240504adaf07 ("ia64/PCI: Keep CPU physical (not
virtual) addresses in shadow ROM resource") 'addr' has been unused,
resulting in the following compiler warning,

  arch/ia64/sn/kernel/io_acpi_init.c: In function 'sn_acpi_slot_fixup':
  arch/ia64/sn/kernel/io_acpi_init.c:429:16: warning: unused variable 'addr' [-Wunused-variable]
    void __iomem *addr;
                ^

Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Bjorn Helgaas <helgaas@kernel.org>
Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/sn/kernel/io_acpi_init.c