target: Remove unneeded check in sbc_parse_cdb
authorAndy Grover <agrover@redhat.com>
Wed, 1 Oct 2014 23:07:02 +0000 (16:07 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 3 Oct 2014 04:35:53 +0000 (21:35 -0700)
commit20959c4b4078847e629eed8918abb52bfe5f559a
treeeb335cbb7e685a1431bc44d942a426db43e8a16a
parent082f58ac4a48d3f5cb4597232cb2ac6823a96f43
target: Remove unneeded check in sbc_parse_cdb

The check of SCF_SCSI_DATA_CDB seems to be a remnant from before hch's
refactoring of this function. There are no places where that flag is set
that cmd->execute_cmd isn't also set.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c