target/iscsi: Eliminate iscsi_cmd.data_length
authorAndy Grover <agrover@redhat.com>
Tue, 3 Apr 2012 22:51:24 +0000 (15:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 15 Apr 2012 00:40:38 +0000 (17:40 -0700)
commitebf1d95ca297a06fe760177b614646dcec06abef
tree6ee7e2c5934ff0e7cd7e30b1e02590d0b4145406
parent065ca1e42ffd74dd03cf60f61cead35934c91ed5
target/iscsi: Eliminate iscsi_cmd.data_length

Redundant, just use iscsi_cmd->se_cmd.data_length once se_cmd is
initialized, or hdr->data_length before then.

Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_core.h
drivers/target/iscsi/iscsi_target_datain_values.c
drivers/target/iscsi/iscsi_target_erl0.c
drivers/target/iscsi/iscsi_target_erl1.c
drivers/target/iscsi/iscsi_target_seq_pdu_list.c
drivers/target/iscsi/iscsi_target_tmr.c
drivers/target/iscsi/iscsi_target_util.c