diff options
| author | Jian Shen <shenjian15@huawei.com> | 2018-09-03 11:21:55 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-09-03 22:04:46 -0700 |
| commit | 7a0a928402689e32dc659b9466cb99254f7f7ed8 (patch) | |
| tree | dcb2ef9a417c582d0f0ff7047b682b4dcb198016 /lib/test_overflow.c | |
| parent | 7f7d9e501f4123e64b130576621d24f9379adc8f (diff) | |
net: hns3: Remove redundant codes of query advertised flow control abilitiy
If the advertised flow control ability has been fetched using
phy_ethtool_ksettings_get() or hclge_get_link_mode() then it is
unnecessary to fetch them again later using hclge_get_flowctrl_adv().
This patch removes it.
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions
