Cleanup: cdb_len was just checked a couple of lines above

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4923 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2013-07-27 01:12:22 +00:00
parent 7a1bb6544c
commit e90730014c

View File

@@ -714,8 +714,6 @@ static int scst_parse_cmd(struct scst_cmd *cmd)
goto out_done;
}
EXTRACHECKS_BUG_ON(cmd->cdb_len == 0);
if (unlikely((cmd->op_flags & SCST_UNKNOWN_LENGTH) != 0)) {
if (scst_cmd_is_expected_set(cmd)) {
/*