summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2012-08-16 06:24:52 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2012-08-21 23:27:35 +0200
commitaf74115eed22698f771fec1287a864975c9a6671 (patch)
treee0619a894a047598aaa412b334c06e20f2eb8fe5 /drivers
parenttcm_fc: rcu_deref outside rcu lock/unlock section (diff)
downloadlinux-af74115eed22698f771fec1287a864975c9a6671.tar.xz
linux-af74115eed22698f771fec1287a864975c9a6671.zip
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 ea9a3d2e4f55..4de3186dc44e 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");