aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ipvlan/ipvlan_main.c
diff options
context:
space:
mode:
authorGuangbin Huang <huangguangbin2@huawei.com>2019-10-31 19:23:21 +0800
committerDavid S. Miller <davem@davemloft.net>2019-10-31 12:03:23 -0700
commit0bfdf2868cd511e2ceff983fe66a508b0d03d8c5 (patch)
tree8e4df658fdf2bc5ebe403fbb73adbaab11ae891f /drivers/net/ipvlan/ipvlan_main.c
parentnet: hns3: cleanup a format-truncation warning (diff)
downloadlinux-rng-0bfdf2868cd511e2ceff983fe66a508b0d03d8c5.tar.xz
linux-rng-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 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions