summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorMaurizio Lombardi <mlombard@redhat.com>2020-04-24 13:39:13 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-04-25 00:21:15 +0200
commit7c59dace7e8e8cc75815f11882805368e5d2a807 (patch)
tree1bc78150151511b3675a12e03abb197e170eee49 /include/target
parentscsi: core: Avoid calling synchronize_rcu() for each device in scsi_host_block() (diff)
downloadlinux-7c59dace7e8e8cc75815f11882805368e5d2a807.tar.xz
linux-7c59dace7e8e8cc75815f11882805368e5d2a807.zip
scsi: target: iscsi: Remove the iscsi_data_count structure
This patch removes the iscsi_data_count structure and the iscsit_do_rx_data() function because they are used only by rx_data() Link: https://lore.kernel.org/r/20200424113913.17237-1-mlombard@redhat.com Reviewed-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/iscsi/iscsi_target_core.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/target/iscsi/iscsi_target_core.h b/include/target/iscsi/iscsi_target_core.h
index 591cd9e4692c..4fda324f4b35 100644
--- a/include/target/iscsi/iscsi_target_core.h
+++ b/include/target/iscsi/iscsi_target_core.h
@@ -301,16 +301,6 @@ struct iscsi_queue_req {
struct list_head qr_list;
};
-struct iscsi_data_count {
- int data_length;
- int sync_and_steering;
- enum data_count_type type;
- u32 iov_count;
- u32 ss_iov_count;
- u32 ss_marker_count;
- struct kvec *iov;
-};
-
struct iscsi_param_list {
bool iser;
struct list_head param_list;