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:
parent
4349d412af
commit
19927e56a8
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user