diff options
author | Ilpo Järvinen <[email protected]> | 2023-11-21 14:34:28 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-12-12 12:21:29 -0800 |
commit | bf88f7d920da2bbabef16404a449a4f72cc0ffcd (patch) | |
tree | 13bbce7f8136b427db7634acb5776919e07fa8b1 /net/ipv4/tcp_input.c | |
parent | 4c39e76846b2500910b5378b1e868e6c4d5e6df8 (diff) |
e1000e: Use pcie_capability_read_word() for reading LNKSTA
Use pcie_capability_read_word() for reading LNKSTA and remove the
custom define that matches to PCI_EXP_LNKSTA.
As only single user for cap_offset remains, replace it with a call to
pci_pcie_cap(). Instead of e1000_adapter, make local variable out of
pci_dev because both users are interested in it.
Signed-off-by: Ilpo Järvinen <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Naama Meir <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions