PCI: Remove unnecessary check for pcie_get_mps() failure
authorYijing Wang <wangyijing@huawei.com>
Thu, 22 Aug 2013 03:24:45 +0000 (11:24 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 22 Aug 2013 16:47:03 +0000 (10:47 -0600)
commitf67577118d1154154cf3c1d96f870c4da13846b4
tree0631144a66491913792b4b7676d9824cdd4092a1
parenta58674ff8383f5b8f6a77f03c48f6a47840b9325
PCI: Remove unnecessary check for pcie_get_mps() failure

After 59875ae489 ("PCI/core: Use PCI Express Capability accessors"),
pcie_get_mps() never returns an error, so don't bother to check for it.

No functional change.

[bhelgaas: changelog, fix pcie_get_mps() doc]
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c