OSDN Git Service

PCI: Kill pci_is_reassigndev()
authorYinghai Lu <yinghai@kernel.org>
Mon, 19 Mar 2012 05:46:26 +0000 (22:46 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 25 Jan 2013 04:09:39 +0000 (21:09 -0700)
commit10c463a7a3b96285133c37e230781a1274abbd31
treeac7b4fcf495c14828464d81de6d9e144b967c2ad
parent3ecd9d01f7dffd5a2291267ba0410e1826c87530
PCI: Kill pci_is_reassigndev()

pci_reassigndev_resource_alignment() is the only user of
pci_is_reassigndev().  If we just use pci_specified_resource_alignment()
directly, we only need to call it once instead of twice, and we can get
rid of pci_is_reassigndev() altogether.  No functional change.

[bhelgaas: changelog]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c