Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322141
b: refs/heads/master
c: af74115
h: refs/heads/master
i:
  322139: 03d69d1
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Aug 21, 2012
1 parent ae3681d commit 9c9697e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 08a16208c8cb2ce1f79fea24f21dd7a8df4f12b6
refs/heads/master: af74115eed22698f771fec1287a864975c9a6671
2 changes: 0 additions & 2 deletions trunk/drivers/target/target_core_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/target/target_core_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,6 @@ struct se_cmd {
u32 se_ordered_id;
/* Total size in bytes associated with command */
u32 data_length;
/* SCSI Presented Data Transfer Length */
u32 cmd_spdtl;
u32 residual_count;
u32 orig_fe_lun;
/* Persistent Reservation key */
Expand Down

0 comments on commit 9c9697e

Please sign in to comment.