mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-20 04:01:26 +00:00
ib_srpt: Remove an unused variable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4554 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2542,7 +2542,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,
|
||||
|
||||
@@ -340,7 +340,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;
|
||||
|
||||
Reference in New Issue
Block a user