diff options
author | Yijing Wang <[email protected]> | 2013-09-09 21:13:06 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-09-24 14:17:06 -0600 |
commit | 0ce0e62f1f7893f983a8f61bc8f5306e80d520b1 (patch) | |
tree | 2087e94dadc26d2ae49444577bcca17943b84fa2 /fs/jbd/commit.c | |
parent | dcaa73dc3411c4d771d1d6a950c6b8a9c71da089 (diff) |
IB/qib: Use pcie_set_mps() and pcie_get_mps() to simplify code
Refactor qib_tune_pcie_caps(). Use pcie_get_mps(), pcie_set_mps(),
pcie_get_readrq(), and pcie_set_readrq() to simplify the code. The PCI
core caches the "PCIe Max Payload Size Supported" in pci_dev->pcie_mpss,
so use that instead of pcie_capability_read_word(). Remove the unused
val2fld() and fld2val().
Signed-off-by: Yijing Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Mike Marciniszyn <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions