From c4cedb589d6d9c017088a88f161fcee7cf54678d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 6 Jan 2013 14:39:11 +0000 Subject: [PATCH] ib_srpt: Remove an unused variable (merge r4554 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4712 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 1 - srpt/src/ib_srpt.h | 1 - 2 files changed, 2 deletions(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 2a79254c1..babb0213a 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2474,7 +2474,6 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id, spin_lock_init(&ch->spinlock); ch->state = CH_CONNECTING; INIT_LIST_HEAD(&ch->cmd_wait_list); - init_waitqueue_head(&ch->state_wq); ch->max_rsp_size = max_t(uint32_t, srp_max_rsp_size, MIN_MAX_RSP_SIZE); ch->ioctx_ring = (struct srpt_send_ioctx **) srpt_alloc_ioctx_ring(ch->sport->sdev, ch->rq_size, diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 2b9c36daf..b306720a1 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -337,7 +337,6 @@ struct srpt_rdma_ch { struct srpt_send_ioctx **ioctx_ring; struct ib_wc wc[16]; enum rdma_ch_state state; - wait_queue_head_t state_wq; struct list_head list; struct list_head cmd_wait_list; bool rtu_received;