diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-08-22 11:24:45 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-08-22 10:47:03 -0600 |
commit | f67577118d1154154cf3c1d96f870c4da13846b4 (patch) | |
tree | 0631144a66491913792b4b7676d9824cdd4092a1 /samples/kobject/kobject-example.c | |
parent | a58674ff8383f5b8f6a77f03c48f6a47840b9325 (diff) |
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>
Diffstat (limited to 'samples/kobject/kobject-example.c')
0 files changed, 0 insertions, 0 deletions