iscsi: Remove out-dated comment above spdk_iscsi_conn_construct
This went stale and the code is currently in flux. Change-Id: Ib0b2171f253db0f54d41573c07668eb3b2bd83b4 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452781 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
07c9541082
commit
1224a5a049
@ -204,20 +204,6 @@ iscsi_poll_group_remove_conn(struct spdk_iscsi_conn *conn)
|
|||||||
STAILQ_REMOVE(&poll_group->connections, conn, spdk_iscsi_conn, link);
|
STAILQ_REMOVE(&poll_group->connections, conn, spdk_iscsi_conn, link);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* \brief Create an iSCSI connection from the given parameters and schedule it
|
|
||||||
* on a reactor.
|
|
||||||
*
|
|
||||||
* \code
|
|
||||||
*
|
|
||||||
* # identify reactor where the new connections work item will be scheduled
|
|
||||||
* reactor = spdk_iscsi_conn_allocate_reactor()
|
|
||||||
* allocate spdk_iscsi_conn object
|
|
||||||
* initialize spdk_iscsi_conn object
|
|
||||||
* schedule iSCSI connection work item on reactor
|
|
||||||
*
|
|
||||||
* \endcode
|
|
||||||
*/
|
|
||||||
int
|
int
|
||||||
spdk_iscsi_conn_construct(struct spdk_iscsi_portal *portal,
|
spdk_iscsi_conn_construct(struct spdk_iscsi_portal *portal,
|
||||||
struct spdk_sock *sock)
|
struct spdk_sock *sock)
|
||||||
|
Loading…
Reference in New Issue
Block a user