iscsi-target: Remove no-op from iscsit_tpg_del_portal_group
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 4 Jun 2014 01:28:25 +0000 (18:28 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 6 Jun 2014 02:44:40 +0000 (19:44 -0700)
commit5256ffdbdc1cb7e5ea69727698079c6f31b59a4f
tree18c0e4a09fbe526b57ee8cb94529240b714c4726
parent3160723c49605965628c3ee7699e5e956c4f8f51
iscsi-target: Remove no-op from iscsit_tpg_del_portal_group

This patch removes a no-op iscsit_clear_tpg_np_login_threads() call
in iscsit_tpg_del_portal_group(), which is unnecessary because
iscsit_tpg_del_portal_group() can only ever be removed from configfs
once all of the child network portals have been released.

Also, go ahed and make iscsit_clear_tpg_np_login_threads() declared
as static.

Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target_tpg.c
drivers/target/iscsi/iscsi_target_tpg.h