commit | 0bfdf2868cd511e2ceff983fe66a508b0d03d8c5 | [log] [tgz] |
---|---|---|
author | Guangbin Huang <huangguangbin2@huawei.com> | Thu Oct 31 19:23:21 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Oct 31 12:03:23 2019 -0700 |
tree | 8e4df658fdf2bc5ebe403fbb73adbaab11ae891f | |
parent | e4b806edfabd43853d365a9fcaf238cf10c3c4ab [diff] |
net: hns3: optimize local variable initialization The variable tx_ring is unnecessary to be initialized as it will be set before used, and the variable rst_cnt is better to be initialized when declaration for simplification. Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>