From e90730014c879f825ed52d9267bc3fbede667a1f Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Sat, 27 Jul 2013 01:12:22 +0000 Subject: [PATCH] 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 --- scst/src/scst_targ.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index f35a7735d..0c1dd736f 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -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)) { /*