diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-08-01 16:32:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-01 20:09:09 -0700 |
commit | a2444ab83eb4ada01a3b35749cfc581130027816 (patch) | |
tree | 10a034912fbed1cbde9bba702d5405d6fcbd82cd /drivers/pnp | |
parent | dca20989313aba3288e3a1d3a88007ccafb37e25 (diff) |
net: dsa: qca8k: do not cache unneeded EEE fields
The qca8k driver is currently caching a bitfield of the supported member
of a ethtool_eee private structure, which is unused.
Only the eee_enabled field of the private ethtool_eee copy is updated,
thus using p->advertised and p->lp_advertised is also erroneous.
Remove the usage of these private ethtool_eee members and only rely on
phy_ethtool_get_eee to assign the eee_active member.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions