net/bnx2x: fix warnings from invalid assert
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 19 Jun 2019 18:22:16 +0000 (11:22 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 24 Jun 2019 11:24:24 +0000 (12:24 +0100)
commit19927e56a853d9506d640a59fea7d2ec5ec2f208
tree00bb59179b12cf57b2f3c2ba6991201fc4b43aa8
parent4349d412afe4ec25b43867f4d6d4672156cb5766
net/bnx2x: fix warnings from invalid assert

This driver had a bogus assert which could never happen.
This triggers "expression is always false warnings" with some
compilers which causes build failure.
Just remove it.

Fixes: 6041aa619f9a ("net/bnx2x: fix poll link status")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Rasesh Mody <rmody@marvell.com>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
drivers/net/bnx2x/bnx2x_ethdev.c