Message ID | 1366875631-18795-2-git-send-email-nab@linux-iscsi.org (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c index 0148cc3..5eee9b7 100644 --- a/drivers/target/iscsi/iscsi_target.c +++ b/drivers/target/iscsi/iscsi_target.c @@ -3762,12 +3762,6 @@ check_rsp_state: break; case ISTATE_SEND_NOPIN: ret = iscsit_send_nopin(cmd, conn); - if (!ret) { - spin_lock_bh(&cmd->istate_lock); - cmd->i_state = ISTATE_SENT_STATUS; - spin_unlock_bh(&cmd->istate_lock); - return 0; - } break; case ISTATE_SEND_REJECT: ret = iscsit_send_reject(cmd, conn);