]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Remove fixed parameter in pci_iov_resource_bar()
authorMyron Stowe <myron.stowe@redhat.com>
Tue, 11 Nov 2014 15:04:50 +0000 (08:04 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 19 Nov 2014 22:07:43 +0000 (15:07 -0700)
commit26ff46c6f23bb1497aaa1364a5c73a109493b653
tree27c28c889186f055f298bcf440cd733cf19eb741
parent7e79c5f8cad2ac1dc26c03e1aa16216391a04dad
PCI: Remove fixed parameter in pci_iov_resource_bar()

pci_iov_resource_bar() always sets its 'pci_bar_type' parameter to
'pci_bar_unknown'.  Drop the parameter and just use 'pci_bar_unknown'
directly in the callers.

No functional change intended.

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
CC: Chris Wright <chrisw@sous-sol.org>
CC: Yu Zhao <yuzhao@google.com>
drivers/pci/iov.c
drivers/pci/pci.c
drivers/pci/pci.h