Commit d4d03a5e authored by Ziye Yang's avatar Ziye Yang Committed by Daniel Verkamp
Browse files

lib/iscsi: Make spdk_iscsi_conn_destruct a static function



Change-Id: I044a9980454cf9a0719477e606df104f377b3b43
Signed-off-by: default avatarZiye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/402642


Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent d79ae3e2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -512,7 +512,8 @@ _spdk_iscsi_conn_check_shutdown(void *arg)
	_spdk_iscsi_conn_free(conn);
}

void spdk_iscsi_conn_destruct(struct spdk_iscsi_conn *conn)
static void
spdk_iscsi_conn_destruct(struct spdk_iscsi_conn *conn)
{
	struct spdk_iscsi_tgt_node	*target;
	int				rc;
+0 −1
Original line number Diff line number Diff line
@@ -173,7 +173,6 @@ int spdk_initialize_iscsi_conns(void);
void spdk_shutdown_iscsi_conns(void);

int spdk_iscsi_conn_construct(struct spdk_iscsi_portal *portal, struct spdk_sock *sock);
void spdk_iscsi_conn_destruct(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_handle_nop(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_logout(struct spdk_iscsi_conn *conn);
int spdk_iscsi_drop_conns(struct spdk_iscsi_conn *conn,