mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
qla2x00t-32gbit, target: Remove unused code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8250 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -770,30 +770,7 @@ static void sqa_qla2xxx_update_sess(struct fc_port *sess, port_id_t s_id,
|
||||
TRACE_EXIT();
|
||||
return;
|
||||
}
|
||||
#if 0
|
||||
/*
|
||||
* The following function is supplied as a callback to the
|
||||
* scst_register_session() function. It is called from a thread context
|
||||
* when asynchronous registration is requested.
|
||||
*/
|
||||
static void sqa_scst_session_cb(struct scst_session *scst_sess,
|
||||
void *data, int result)
|
||||
{
|
||||
struct fc_port *fcport = (struct fc_port *)
|
||||
scst_sess_get_tgt_priv(scst_sess);
|
||||
struct scsi_qla_host *vha = fcport->vha;
|
||||
|
||||
TRACE_ENTRY();
|
||||
|
||||
if (result != 0) {
|
||||
PRINT_INFO("sqatgt(%ld/%d): Session initialization failed.",
|
||||
vha->host_no, vha->vp_idx);
|
||||
}
|
||||
|
||||
TRACE_EXIT();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
static struct se_session *sqa_alloc_sesess(scsi_qla_host_t *vha)
|
||||
{
|
||||
struct se_session *se_sess;
|
||||
|
||||
Reference in New Issue
Block a user