These are obvious issues spotted several releases ago by Coverity, and seem to have ended up assigned to me.
Hold off the merge until it is tested on real hardware; sorry, I don't have this NIC. Stephen Hemminger (4): net/bnx2x: remove dead conditional net/bnx2x: fix always true expression net/bnx2x: fix possible infinite loop at startup net/bnx2x: fix duplicate branch drivers/net/bnx2x/bnx2x.c | 19 +++++++------------ drivers/net/bnx2x/bnx2x_stats.c | 3 --- 2 files changed, 7 insertions(+), 15 deletions(-) -- 2.45.2