diff options
| author | Bjorn Helgaas <[email protected]> | 2024-03-25 22:06:33 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-03-27 03:48:01 +0000 |
| commit | ee36b1e93b11b980e0156bd07cbb9866b7d3e29e (patch) | |
| tree | de5b635dc694aa8bc4221d15fc5a0b7667a6200a /drivers/net/ethernet/amd/amd8111e.c | |
| parent | net: pin system percpu page_pools to the corresponding NUMA nodes (diff) | |
| download | kernel-ee36b1e93b11b980e0156bd07cbb9866b7d3e29e.tar.gz kernel-ee36b1e93b11b980e0156bd07cbb9866b7d3e29e.zip | |
net: amd8111e: Drop unused copy of pm_cap
The copy of pdev->pm_cap in struct amd8111e_priv is never used. Drop it.
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/amd/amd8111e.c')
| -rw-r--r-- | drivers/net/ethernet/amd/amd8111e.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c index ea6cfc2095e1..c1b5e9a94308 100644 --- a/drivers/net/ethernet/amd/amd8111e.c +++ b/drivers/net/ethernet/amd/amd8111e.c @@ -1796,7 +1796,6 @@ static int amd8111e_probe_one(struct pci_dev *pdev, lp = netdev_priv(dev); lp->pci_dev = pdev; lp->amd8111e_net_dev = dev; - lp->pm_cap = pdev->pm_cap; spin_lock_init(&lp->lock); |
