summaryrefslogtreecommitdiffstats
path: root/include/target
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 06:00:52 +0000
commit58a2801a4b9ad97d3685bb7a3344e17d60292908 (patch)
tree57326befbef1dfdf86b20b2237939c333e1cddbc /include/target
parent6297b07cbc42eb6b53eb88fce70a4727ea230797 (diff)
downloadop-kernel-dev-58a2801a4b9ad97d3685bb7a3344e17d60292908.zip
op-kernel-dev-58a2801a4b9ad97d3685bb7a3344e17d60292908.tar.gz
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/target')
-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 36a06f7..f639973 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -444,8 +444,6 @@ struct se_cmd {
struct list_head se_qf_node;
struct se_device *se_dev;
struct se_dev_entry *se_deve;
- struct se_device *se_obj_ptr;
- struct se_device *se_orig_obj_ptr;
struct se_lun *se_lun;
/* Only used for internal passthrough and legacy TCM fabric modules */
struct se_session *se_sess;
OpenPOWER on IntegriCloud