diff options
author | Fuyun Liang <liangfuyun1@huawei.com> | 2017-12-22 12:21:49 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 10:41:30 -0500 |
commit | 492cd1db582d9e91c6db23a054bf63365ac84dc7 (patch) | |
tree | 7a2c1d7dcbd6d98bcc09bde0739029b0b598c7b8 /ipc | |
parent | 9699cffe97fee6eb957a23b58d814a2e62dd43e9 (diff) | |
download | linux-492cd1db582d9e91c6db23a054bf63365ac84dc7.tar.bz2 |
net: hns3: cleanup mac auto-negotiation state query
When checking whether auto-negotiation is on, driver only needs to
check the value of mac.autoneg(SW) directly, and does not need to
query it from hardware. Because this value is always synchronized
with the auto-negotiation state of hardware.
This patch removes the mac auto-negotiation state query.
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions