Commit f9a6ed62 authored by Sagi Grimberg's avatar Sagi Grimberg Committed by Doug Ledford

IB/srpt: Remove redundant wc array

No usage after the conversion to the new CQ API.
Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
Reviewed-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 967bcfc0
...@@ -254,7 +254,6 @@ enum rdma_ch_state { ...@@ -254,7 +254,6 @@ enum rdma_ch_state {
* @free_list: Head of list with free send I/O contexts. * @free_list: Head of list with free send I/O contexts.
* @state: channel state. See also enum rdma_ch_state. * @state: channel state. See also enum rdma_ch_state.
* @ioctx_ring: Send ring. * @ioctx_ring: Send ring.
* @wc: IB work completion array for srpt_process_completion().
* @list: Node for insertion in the srpt_device.rch_list list. * @list: Node for insertion in the srpt_device.rch_list list.
* @cmd_wait_list: List of SCSI commands that arrived before the RTU event. This * @cmd_wait_list: List of SCSI commands that arrived before the RTU event. This
* list contains struct srpt_ioctx elements and is protected * list contains struct srpt_ioctx elements and is protected
...@@ -281,7 +280,6 @@ struct srpt_rdma_ch { ...@@ -281,7 +280,6 @@ struct srpt_rdma_ch {
struct list_head free_list; struct list_head free_list;
enum rdma_ch_state state; enum rdma_ch_state state;
struct srpt_send_ioctx **ioctx_ring; struct srpt_send_ioctx **ioctx_ring;
struct ib_wc wc[16];
struct list_head list; struct list_head list;
struct list_head cmd_wait_list; struct list_head cmd_wait_list;
struct se_session *sess; struct se_session *sess;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment