diff options
Diffstat (limited to 'drivers/scsi/bnx2i')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i_iscsi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c index 98148f3f3c63..40120a242eff 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c | |||
@@ -1160,9 +1160,6 @@ static int bnx2i_task_xmit(struct iscsi_task *task) | |||
1160 | struct bnx2i_cmd *cmd = task->dd_data; | 1160 | struct bnx2i_cmd *cmd = task->dd_data; |
1161 | struct iscsi_cmd *hdr = (struct iscsi_cmd *) task->hdr; | 1161 | struct iscsi_cmd *hdr = (struct iscsi_cmd *) task->hdr; |
1162 | 1162 | ||
1163 | if (test_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state)) | ||
1164 | return -ENOTCONN; | ||
1165 | |||
1166 | if (!bnx2i_conn->is_bound) | 1163 | if (!bnx2i_conn->is_bound) |
1167 | return -ENOTCONN; | 1164 | return -ENOTCONN; |
1168 | 1165 | ||