mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user