aboutsummaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-10-22 04:03:54 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-10-23 23:21:54 -0400
commitdbc5623eb2898f5b5dcdc0b16077bb3f58629c78 (patch)
treef69f4cba91f373a40bcfbbfca8b5383ee297320e /include/target
parent35e0e757537b9239172e35db773dd062727fd612 (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.h2
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);
113extern void release_se_kmem_caches(void); 113extern void release_se_kmem_caches(void);
114extern u32 scsi_get_new_index(scsi_index_t); 114extern u32 scsi_get_new_index(scsi_index_t);
115extern void transport_init_queue_obj(struct se_queue_obj *); 115extern void transport_init_queue_obj(struct se_queue_obj *);
116extern int transport_subsystem_check_init(void); 116extern void transport_subsystem_check_init(void);
117extern int transport_subsystem_register(struct se_subsystem_api *); 117extern int transport_subsystem_register(struct se_subsystem_api *);
118extern void transport_subsystem_release(struct se_subsystem_api *); 118extern void transport_subsystem_release(struct se_subsystem_api *);
119extern void transport_load_plugins(void); 119extern void transport_load_plugins(void);