commit | 6241e71e7207102ffc733991f7a00f74098d7da0 | [log] [tgz] |
---|---|---|
author | Peng Li <lipeng321@huawei.com> | Sat Feb 02 22:39:27 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Feb 02 08:24:08 2019 -0800 |
tree | e80480cdacf5be893d229e536bf17f0c8a64bed4 | |
parent | 9e50dc11b856f19908559bafe1a3eca0ddc632b2 [diff] |
net: hns3: fix an issue for hns3_update_new_int_gl HNS3 supports setting rx-usecs|tx-usecs as 0, but it will not update dynamically when adaptive-tx or adaptive-rx is enable. This patch removes the Redundant check. Fixes: a95e1f8666e9 ("net: hns3: change the time interval of int_gl calculating") Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>