diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2010-10-17 19:05:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-18 09:51:57 -0400 |
commit | e3dba8141b651dd8f560a2fd9513b1d26f447f9d (patch) | |
tree | 53bb108923e5ac1675d09550deaa05e538c307bd /drivers/net/bnx2x/bnx2x_cmn.c | |
parent | fe78d2637ad9acc6414e36ce781aadc8c77d560d (diff) |
bnx2x: remove redundant commands during error handling
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_cmn.c')
-rw-r--r-- | drivers/net/bnx2x/bnx2x_cmn.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_cmn.c b/drivers/net/bnx2x/bnx2x_cmn.c index cb2a3d625ad1..b037dd2db8e5 100644 --- a/drivers/net/bnx2x/bnx2x_cmn.c +++ b/drivers/net/bnx2x/bnx2x_cmn.c | |||
@@ -1289,8 +1289,6 @@ int bnx2x_nic_load(struct bnx2x *bp, int load_mode) | |||
1289 | if (rc) { | 1289 | if (rc) { |
1290 | BNX2X_ERR("HW init failed, aborting\n"); | 1290 | BNX2X_ERR("HW init failed, aborting\n"); |
1291 | bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE, 0); | 1291 | bnx2x_fw_command(bp, DRV_MSG_CODE_LOAD_DONE, 0); |
1292 | bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_REQ_WOL_MCP, 0); | ||
1293 | bnx2x_fw_command(bp, DRV_MSG_CODE_UNLOAD_DONE, 0); | ||
1294 | goto load_error2; | 1292 | goto load_error2; |
1295 | } | 1293 | } |
1296 | 1294 | ||