commit | 60df7e91cc3efa141802dffad3a82b95c2ec479e | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Tue Jan 21 16:42:13 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 21 11:46:21 2020 +0100 |
tree | 2d10b3addf8e04c473b0abf2947475d275028d03 | |
parent | 322cb97c0734555d7a10299954624363de370c9c [diff] |
net: hns3: cleanup some coding style issue This patch removes some unnecessary return value assignments, some duplicated printing in the caller, refines the judgment of 0 and uses le16_to_cpu to replace __le16_to_cpu. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>