diff options
author | Jian Shen <shenjian15@huawei.com> | 2018-09-03 13:21:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-04 08:04:46 +0300 |
commit | 7a0a928402689e32dc659b9466cb99254f7f7ed8 (patch) | |
tree | dcb2ef9a417c582d0f0ff7047b682b4dcb198016 /drivers/hwmon/sht15.c | |
parent | 7f7d9e501f4123e64b130576621d24f9379adc8f (diff) | |
download | linux-7a0a928402689e32dc659b9466cb99254f7f7ed8.tar.xz |
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 'drivers/hwmon/sht15.c')
0 files changed, 0 insertions, 0 deletions