summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-11-14 17:36:27 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2011-12-06 07:00:52 +0100
commit58a2801a4b9ad97d3685bb7a3344e17d60292908 (patch)
tree57326befbef1dfdf86b20b2237939c333e1cddbc /include/target
parenttarget: Drop config_item_name usage in fabric TFO->free_wwn() (diff)
downloadlinux-58a2801a4b9ad97d3685bb7a3344e17d60292908.tar.xz
linux-58a2801a4b9ad97d3685bb7a3344e17d60292908.zip
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 36a06f79c973..f63997316dab 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;