From c5b658b8dd55b7d603dc9bb86ad86ec06323377b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 18 Apr 2019 01:41:25 +0000 Subject: [PATCH] qla2x00t-32gbit, target: Remove unused code git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8250 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c b/qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c index 47199e711..35d2540e9 100644 --- a/qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c +++ b/qla2x00t-32gbit/qla2x00-target/scst_qla2xxx.c @@ -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;