net/hns3: remove useless variable initializations
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Sat, 21 Dec 2019 10:32:51 +0000 (18:32 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit02aa899d600059560ab7392ff13e111a497c44da
tree2cd36da65811b7951f531763056fde5337799921
parent074aa6b679fb948bc78449e4ee54b1d4e76dcb23
net/hns3: remove useless variable initializations

This patch removes the redundant initialization of the variable
named ret.

Signed-off-by: Hongbo Zheng <zhenghongbo3@huawei.com>
Signed-off-by: Hao Chen <chenhao164@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c