target: transport_subsystem_check_init cleanups
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 22 Oct 2011 08:03:54 +0000 (01:03 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:54 +0000 (03:21 +0000)
commitdbc5623eb2898f5b5dcdc0b16077bb3f58629c78
treef69f4cba91f373a40bcfbbfca8b5383ee297320e
parent35e0e757537b9239172e35db773dd062727fd612
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>
drivers/target/target_core_configfs.c
drivers/target/target_core_transport.c
include/target/target_core_transport.h