diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-22 04:03:54 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-23 23:21:54 -0400 |
commit | dbc5623eb2898f5b5dcdc0b16077bb3f58629c78 (patch) | |
tree | f69f4cba91f373a40bcfbbfca8b5383ee297320e /include/target | |
parent | 35e0e757537b9239172e35db773dd062727fd612 (diff) |
target: transport_subsystem_check_init cleanups
Remove the now unnecessary extra call to transport_subsystem_check_init() in
target_core_register_fabric(), and also merge transport_subsystem_reqmods()
directly into transport_subsystem_check_init().
Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r-- | include/target/target_core_transport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target/target_core_transport.h b/include/target/target_core_transport.h index c8538c5d3fbf..32c586346c0e 100644 --- a/include/target/target_core_transport.h +++ b/include/target/target_core_transport.h | |||
@@ -113,7 +113,7 @@ extern int init_se_kmem_caches(void); | |||
113 | extern void release_se_kmem_caches(void); | 113 | extern void release_se_kmem_caches(void); |
114 | extern u32 scsi_get_new_index(scsi_index_t); | 114 | extern u32 scsi_get_new_index(scsi_index_t); |
115 | extern void transport_init_queue_obj(struct se_queue_obj *); | 115 | extern void transport_init_queue_obj(struct se_queue_obj *); |
116 | extern int transport_subsystem_check_init(void); | 116 | extern void transport_subsystem_check_init(void); |
117 | extern int transport_subsystem_register(struct se_subsystem_api *); | 117 | extern int transport_subsystem_register(struct se_subsystem_api *); |
118 | extern void transport_subsystem_release(struct se_subsystem_api *); | 118 | extern void transport_subsystem_release(struct se_subsystem_api *); |
119 | extern void transport_load_plugins(void); | 119 | extern void transport_load_plugins(void); |