summaryrefslogtreecommitdiff
path: root/lib/sg_pool.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 /lib/sg_pool.c
parente4b806edfabd43853d365a9fcaf238cf10c3c4ab (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>
Diffstat (limited to 'lib/sg_pool.c')
0 files changed, 0 insertions, 0 deletions