mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
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:
@@ -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)) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user