git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1797 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-06-28 19:03:40 +00:00
parent 58e0bbd491
commit 3375930bad
-7
View File
@@ -2770,12 +2770,6 @@ static int srpt_xmit_response(struct scst_cmd *scmnd)
int resp_len;
enum srpt_command_state prev_state;
if (unlikely(scst_cmd_atomic(scmnd))) {
TRACE_DBG("%s", "Switching to thread context.");
ret = SCST_TGT_RES_NEED_THREAD_CTX;
goto out;
}
EXTRACHECKS_BUG_ON(scst_cmd_atomic(scmnd));
ioctx = scst_cmd_get_tgt_priv(scmnd);
@@ -3501,7 +3495,6 @@ static int __init srpt_init_module(void)
goto out;
}
srpt_template.xmit_response_atomic = !thread;
srpt_template.rdy_to_xfer_atomic = !thread;
ret = scst_register_target_template(&srpt_template);
if (ret < 0) {