net/hns3: remove meaningless packet buffer rollback
authorHuisong Li <lihuisong@huawei.com>
Sat, 15 May 2021 00:52:35 +0000 (08:52 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 18 May 2021 10:30:14 +0000 (12:30 +0200)
commit47ce649fd30c89d95c420a015f9eef7f215bb386
treeeb302fc1d74fe8b235fdd689b6b820168821b879
parent19603f63fbb77f6ceddce9d36d20a6f5d7cdd4cf
net/hns3: remove meaningless packet buffer rollback

Packet buffer allocation and hardware pause configuration fail normally
when a reset occurs. If the execution fails, rollback of the packet
buffer still fails. So this rollback is meaningless.

Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_dcb.c