Now scst_pre_parse() called in __scst_init_cmd(), so there's no point to call scst_get_cdb_info() once again

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3213 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2011-01-13 12:49:33 +00:00
parent dfa288aaa0
commit dd9ca37b42

View File

@@ -179,7 +179,6 @@ static int scst_init_cmd(struct scst_cmd *cmd, enum scst_exec_context *context)
EXTRACHECKS_BUG_ON(*context == SCST_CONTEXT_SAME);
#ifdef CONFIG_SCST_TEST_IO_IN_SIRQ
scst_get_cdb_info(cmd);
if (cmd->op_flags & SCST_TEST_IO_IN_SIRQ_ALLOWED)
goto out;
#endif