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: 6041aa619f ("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>
This commit is contained in:
Stephen Hemminger 2019-06-19 11:22:16 -07:00 committed by Ferruh Yigit
parent 4349d412af
commit 19927e56a8

View File

@ -150,7 +150,6 @@ static void bnx2x_periodic_start(void *param)
if (ret) {
PMD_DRV_LOG(ERR, sc, "Unable to start periodic"
" timer rc %d", ret);
assert(false && "Unable to start periodic timer");
}
}
}