diff options
author | Christoph Hellwig <hch@lst.de> | 2015-05-03 08:50:54 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 07:42:38 +0200 |
commit | 0dc2e8d1435318dc448ac390d6d31e6cd2516684 (patch) | |
tree | 0a2353314d6bf9a992a0ac6939d5d8167179043a /include | |
parent | target: don't copy fabric ops (diff) | |
download | linux-0dc2e8d1435318dc448ac390d6d31e6cd2516684.tar.xz linux-0dc2e8d1435318dc448ac390d6d31e6cd2516684.zip |
target: put struct target_fabric_configfs on a diet
Remove all fields that are either unused or can be replaced by trivially
following pointers.
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_configfs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/target/target_core_configfs.h b/include/target/target_core_configfs.h index 10402e5526e7..3f11d2ead63d 100644 --- a/include/target/target_core_configfs.h +++ b/include/target/target_core_configfs.h @@ -30,18 +30,11 @@ struct target_fabric_configfs_template { }; struct target_fabric_configfs { - char tf_name[TARGET_FABRIC_NAME_SIZE]; atomic_t tf_access_cnt; struct list_head tf_list; struct config_group tf_group; struct config_group tf_disc_group; struct config_group *tf_default_groups[2]; - /* Pointer to fabric's config_item */ - struct config_item *tf_fabric; - /* Passed from fabric modules */ - struct config_item_type *tf_fabric_cit; - /* Pointer to fabric's struct module */ - struct module *tf_module; const struct target_core_fabric_ops *tf_ops; struct target_fabric_configfs_template tf_cit_tmpl; }; |