diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-22 08:03:54 (GMT) |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:21:54 (GMT) |
commit | dbc5623eb2898f5b5dcdc0b16077bb3f58629c78 (patch) | |
tree | f69f4cba91f373a40bcfbbfca8b5383ee297320e /include | |
parent | 35e0e757537b9239172e35db773dd062727fd612 (diff) | |
download | linux-fsl-qoriq-dbc5623eb2898f5b5dcdc0b16077bb3f58629c78.tar.xz |
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')
-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 c8538c5..32c5863 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); extern void release_se_kmem_caches(void); extern u32 scsi_get_new_index(scsi_index_t); extern void transport_init_queue_obj(struct se_queue_obj *); -extern int transport_subsystem_check_init(void); +extern void transport_subsystem_check_init(void); extern int transport_subsystem_register(struct se_subsystem_api *); extern void transport_subsystem_release(struct se_subsystem_api *); extern void transport_load_plugins(void); |