iscsi: make spdk_del_connection_queued_task into static
No need to export this function, since it is only used in lib/iscsi.c Change-Id: Ib5fc3d54e45d0b5696413788a6a98278e9c2dfef Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/392716 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
57199e1e89
commit
40dbe37f63
@ -3651,7 +3651,8 @@ void spdk_del_transfer_task(struct spdk_iscsi_conn *conn, uint32_t task_tag)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void spdk_del_connection_queued_task(void *tailq, struct spdk_scsi_lun *lun)
|
static void
|
||||||
|
spdk_del_connection_queued_task(void *tailq, struct spdk_scsi_lun *lun)
|
||||||
{
|
{
|
||||||
struct spdk_iscsi_task *task, *task_tmp;
|
struct spdk_iscsi_task *task, *task_tmp;
|
||||||
/*
|
/*
|
||||||
|
@ -346,7 +346,6 @@ int spdk_iscsi_sess_params_init(struct iscsi_param **params);
|
|||||||
void spdk_free_sess(struct spdk_iscsi_sess *sess);
|
void spdk_free_sess(struct spdk_iscsi_sess *sess);
|
||||||
void spdk_clear_all_transfer_task(struct spdk_iscsi_conn *conn,
|
void spdk_clear_all_transfer_task(struct spdk_iscsi_conn *conn,
|
||||||
struct spdk_scsi_lun *lun);
|
struct spdk_scsi_lun *lun);
|
||||||
void spdk_del_connection_queued_task(void *tailq, struct spdk_scsi_lun *lun);
|
|
||||||
void spdk_del_transfer_task(struct spdk_iscsi_conn *conn, uint32_t CmdSN);
|
void spdk_del_transfer_task(struct spdk_iscsi_conn *conn, uint32_t CmdSN);
|
||||||
bool spdk_iscsi_is_deferred_free_pdu(struct spdk_iscsi_pdu *pdu);
|
bool spdk_iscsi_is_deferred_free_pdu(struct spdk_iscsi_pdu *pdu);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user