lib/iscsi: Make spdk_iscsi_conn_destruct a static function
Change-Id: I044a9980454cf9a0719477e606df104f377b3b43 Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/402642 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
d79ae3e253
commit
d4d03a5ecf
@ -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;
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user