summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-08-16 04:24:52 (GMT)
committerNicholas Bellinger <nab@linux-iscsi.org>2012-08-21 21:27:35 (GMT)
commitaf74115eed22698f771fec1287a864975c9a6671 (patch)
treee0619a894a047598aaa412b334c06e20f2eb8fe5 /drivers
parent08a16208c8cb2ce1f79fea24f21dd7a8df4f12b6 (diff)
downloadlinux-af74115eed22698f771fec1287a864975c9a6671.tar.xz
target: Remove unused se_cmd.cmd_spdtl
This was originally for helping fabrics to determine overflow/underflow status, and has been superceeded by SCF_OVERFLOW_BIT + SCF_UNDERFLOW_BIT. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/target/target_core_transport.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c
index ea9a3d2..4de3186 100644
--- a/drivers/target/target_core_transport.c
+++ b/drivers/target/target_core_transport.c
@@ -1165,8 +1165,6 @@ int target_cmd_size_check(struct se_cmd *cmd, unsigned int size)
" 0x%02x\n", cmd->se_tfo->get_fabric_name(),
cmd->data_length, size, cmd->t_task_cdb[0]);
- cmd->cmd_spdtl = size;
-
if (cmd->data_direction == DMA_TO_DEVICE) {
pr_err("Rejecting underflow/overflow"
" WRITE data\n");