diff options
author | Yijing Wang <[email protected]> | 2013-09-09 21:13:07 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2013-10-04 14:31:03 -0600 |
commit | 9db008d0d963f358c13381e86f5a042579216f06 (patch) | |
tree | 06450cae6b2be5dc5223a7d6970e66d410b71f96 /fs/jbd/commit.c | |
parent | 03078633a6eb86fdb6ea2f40e6352de4b1181bbf (diff) |
staging: et131x: Use pci_dev->pcie_mpss and pcie_set_readrq() to simplify code
The PCI core caches the "PCIe Max Payload Size Supported" in
pci_dev->pcie_mpss, so use that instead of pcie_capability_read_dword().
Also use pcie_set_readrq() instead of pcie_capability_clear_and_set_word()
to simplify code.
Signed-off-by: Yijing Wang <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Mark Einon <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions