bnx2x: remove redundant commands during error handling
Subsystems (2)
PATCH 3/5 bnx2x: remove redundant commands during error handling
Signed-off-by Dmitry Kravkov <[email protected]>
Signed-off-by Eilon Greenstein <[email protected]>
--- drivers/net/bnx2x/bnx2x_cmn.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/bnx2x/bnx2x_cmn.c +0 -2
@@ -1288,8 +1288,6 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode)if (rc) {BNX2X_ERR ("HW init failed, aborting\n" );bnx2x_fw_command (bp,DRV_MSG_CODE_LOAD_DONE ,0 ); -bnx2x_fw_command (bp,DRV_MSG_CODE_UNLOAD_REQ_WOL_MCP ,0 ); -bnx2x_fw_command (bp,DRV_MSG_CODE_UNLOAD_DONE ,0 ); goto load_error2; }
Signature · 1 line
1.7.1