Commit af74115eed22698f771fec1287a864975c9a6671
Committed by
Nicholas Bellinger
1 parent
08a16208c8
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>
Showing 2 changed files with 0 additions and 4 deletions Side-by-side Diff
drivers/target/target_core_transport.c
... | ... | @@ -1165,8 +1165,6 @@ |
1165 | 1165 | " 0x%02x\n", cmd->se_tfo->get_fabric_name(), |
1166 | 1166 | cmd->data_length, size, cmd->t_task_cdb[0]); |
1167 | 1167 | |
1168 | - cmd->cmd_spdtl = size; | |
1169 | - | |
1170 | 1168 | if (cmd->data_direction == DMA_TO_DEVICE) { |
1171 | 1169 | pr_err("Rejecting underflow/overflow" |
1172 | 1170 | " WRITE data\n"); |
include/target/target_core_base.h
... | ... | @@ -503,8 +503,6 @@ |
503 | 503 | u32 se_ordered_id; |
504 | 504 | /* Total size in bytes associated with command */ |
505 | 505 | u32 data_length; |
506 | - /* SCSI Presented Data Transfer Length */ | |
507 | - u32 cmd_spdtl; | |
508 | 506 | u32 residual_count; |
509 | 507 | u32 orig_fe_lun; |
510 | 508 | /* Persistent Reservation key */ |