]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: fix unused variable warning in amd_bus.c
authorYinghai Lu <yinghai@kernel.org>
Tue, 1 May 2012 23:25:18 +0000 (17:25 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 1 May 2012 23:25:18 +0000 (17:25 -0600)
commit4a227762970326164a709a5e3e151867935206ad
tree0068bce90fa221502a7646178fa484a26b7c2694
parent37346676e345987d6665bf7ea47e69de76ff4dff
x86/PCI: fix unused variable warning in amd_bus.c

Fix this warning:

  arch/x86/pci/amd_bus.c: In function 'early_fill_mp_bus_info':
  arch/x86/pci/amd_bus.c:56:6: warning: unused variable 'j' [-Wunused-variable]

introduced by commit e0a54598a409 ("x86/PCI: dynamically allocate
pci_root_info for native host bridge drivers").

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/pci/amd_bus.c