net/hns3: remove unnecessary zero assignments
authorChengwen Feng <fengchengwen@huawei.com>
Sat, 17 Jul 2021 02:02:50 +0000 (10:02 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 23 Jul 2021 12:18:53 +0000 (14:18 +0200)
commit5d5fde3d01c545695093187f49f38d6cd6c0a757
tree2296c53ddc6d084ff99a0b05882d53df7ff5b000
parent976ddf2f5a7aa1ade4300de394cdd481a5e79f1c
net/hns3: remove unnecessary zero assignments

The output parameter 'cap' was cleared at the function entry, the
latter zero assignment 'cap' fields was unnecessary, so delete them.

Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_tm.c