diff options
author | 2019-10-31 19:23:21 +0800 | |
---|---|---|
committer | 2019-10-31 12:03:23 -0700 | |
commit | 0bfdf2868cd511e2ceff983fe66a508b0d03d8c5 (patch) | |
tree | 8e4df658fdf2bc5ebe403fbb73adbaab11ae891f /include | |
parent | net: hns3: cleanup a format-truncation warning (diff) | |
download | wireguard-linux-0bfdf2868cd511e2ceff983fe66a508b0d03d8c5.tar.xz wireguard-linux-0bfdf2868cd511e2ceff983fe66a508b0d03d8c5.zip |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions