diff options
author | Christoph Hellwig <hch@lst.de> | 2015-05-03 08:50:53 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-05-31 07:42:37 +0200 |
commit | ef0caf8dd149992796ee453b65dd0d77ff848f57 (patch) | |
tree | cf0c3b5317f3b22d3caa75d71cade943133b6de4 /include/target | |
parent | target: Remove set-but-not-used-variables (diff) | |
download | linux-ef0caf8dd149992796ee453b65dd0d77ff848f57.tar.xz linux-ef0caf8dd149992796ee453b65dd0d77ff848f57.zip |
target: don't copy fabric ops
Now that we don't need to set up ->tf_subsys we don't need to copy around
the ops vector anymore.
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_configfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_configfs.h b/include/target/target_core_configfs.h index b99c01170392..10402e5526e7 100644 --- a/include/target/target_core_configfs.h +++ b/include/target/target_core_configfs.h @@ -42,7 +42,7 @@ struct target_fabric_configfs { struct config_item_type *tf_fabric_cit; /* Pointer to fabric's struct module */ struct module *tf_module; - struct target_core_fabric_ops tf_ops; + const struct target_core_fabric_ops *tf_ops; struct target_fabric_configfs_template tf_cit_tmpl; }; |