scst: Remove a superfluous test from the REPORT TARGET PORT GROUPS implementation

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-06-28 11:31:13 +00:00
parent 95bc9b68ff
commit 971c23a4dd

View File

@@ -3148,11 +3148,6 @@ static enum compl_status_e vdisk_exec_report_tpgs(struct vdisk_cmd_params *p)
goto out;
}
if (cmd->cdb_len < 12)
PRINT_WARNING("received invalid REPORT TARGET PORT GROUPS "
"command - length %d is too small (should be at "
"least 12 bytes)", cmd->cdb_len);
dev = cmd->dev;
data_format = cmd->cdb[1] >> 5;