ib_srpt: Remove an unused variable

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3540 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-06-05 09:56:58 +00:00
parent 3684b6394e
commit 8aacdf09ef
2 changed files with 1 additions and 7 deletions

View File

@@ -2144,8 +2144,7 @@ static void srpt_release_channel_work(struct work_struct *w)
#else
ch = container_of(w, struct srpt_rdma_ch, release_work);
#endif
TRACE_DBG("ch = %p; ch->scst_sess = %p; release_done = %p", ch,
ch->scst_sess, ch->release_done);
TRACE_DBG("ch = %p; ch->scst_sess = %p", ch, ch->scst_sess);
WARN_ON(ch->state != CH_RELEASING);
sdev = ch->sport->sdev;
@@ -2175,9 +2174,6 @@ static void srpt_release_channel_work(struct work_struct *w)
ib_destroy_cm_id(ch->cm_id);
if (ch->release_done)
complete(ch->release_done);
wake_up(&sdev->ch_releaseQ);
kfree(ch);

View File

@@ -292,7 +292,6 @@ enum rdma_ch_state {
* @scst_sess: SCST session information associated with this SRP channel.
* @sess_name: SCST session name.
* @release_work:
* @release_done:
*/
struct srpt_rdma_ch {
struct task_struct *thread;
@@ -318,7 +317,6 @@ struct srpt_rdma_ch {
struct scst_session *scst_sess;
u8 sess_name[36];
struct work_struct release_work;
struct completion *release_done;
};
/**