aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-14 11:36:27 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-06 01:00:52 -0500
commit58a2801a4b9ad97d3685bb7a3344e17d60292908 (patch)
tree57326befbef1dfdf86b20b2237939c333e1cddbc /include
parent6297b07cbc42eb6b53eb88fce70a4727ea230797 (diff)
target: remove the se_obj_ptr and se_orig_obj_ptr se_cmd fields
We already have a perfectly valid se_device pointer in the command, so remove the mostly useless duplicates. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include')
-rw-r--r--include/target/target_core_base.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 36a06f79c973..f63997316dab 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -444,8 +444,6 @@ struct se_cmd {
444 struct list_head se_qf_node; 444 struct list_head se_qf_node;
445 struct se_device *se_dev; 445 struct se_device *se_dev;
446 struct se_dev_entry *se_deve; 446 struct se_dev_entry *se_deve;
447 struct se_device *se_obj_ptr;
448 struct se_device *se_orig_obj_ptr;
449 struct se_lun *se_lun; 447 struct se_lun *se_lun;
450 /* Only used for internal passthrough and legacy TCM fabric modules */ 448 /* Only used for internal passthrough and legacy TCM fabric modules */
451 struct se_session *se_sess; 449 struct se_session *se_sess;