net/bnxt: remove logically dead code
authorYunjian Wang <wangyunjian@huawei.com>
Sat, 5 Sep 2020 09:36:42 +0000 (17:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:09 +0000 (18:55 +0200)
commitec3345fd674f495c8cea2dee922bab505d3aedd2
treecb8a2effb20473d3c1ae714d6eff949a6fef016e
parent1eab95fe2e36e191ad85a9aacf82a44e7c8011fc
net/bnxt: remove logically dead code

This patch removes logically dead code reported by coverity.

Coverity issue: 360824
Fixes: 6dc83230b43b ("net/bnxt: support port representor data path")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_reps.c