From 10f5c772310606789677253f10ec7b2f5580ad79 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 2 Nov 2006 12:08:28 +0000 Subject: [PATCH] Minor cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@25 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/qla2x00t.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index 773b23b32..96eeb9f7b 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -77,10 +77,6 @@ # endif #endif -#if defined(DEBUG) || defined(TRACING) -unsigned long trace_flag = SCST_DEFAULT_QLA_LOG_FLAGS; -#endif - static int q2t_target_detect(struct scst_tgt_template *templ); static int q2t_target_release(struct scst_tgt *scst_tgt); static int q2t_xmit_response(struct scst_cmd *scst_cmd); @@ -104,6 +100,10 @@ static void q2t_send_term_exchange(scsi_qla_host_t *ha, struct q2t_cmd *cmd, * Global Variables */ +#if defined(DEBUG) || defined(TRACING) +unsigned long trace_flag = SCST_DEFAULT_QLA_LOG_FLAGS; +#endif + struct scst_tgt_template tgt_template = { name:"qla2x00tgt", sg_tablesize:0, @@ -123,8 +123,8 @@ struct scst_tgt_template tgt_template = { task_mgmt_fn_done:q2t_task_mgmt_fn_done, }; -static struct qla2x_tgt_target tgt_data; kmem_cache_t *q2t_cmd_cachep = NULL; +static struct qla2x_tgt_target tgt_data; /* * Functions