mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
ib_srpt: Remove an unused member variable
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7283 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1318,7 +1318,6 @@ static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch)
|
||||
return ioctx;
|
||||
|
||||
BUG_ON(ioctx->ch != ch);
|
||||
spin_lock_init(&ioctx->spinlock);
|
||||
ioctx->state = SRPT_STATE_NEW;
|
||||
EXTRACHECKS_WARN_ON(ioctx->recv_ioctx);
|
||||
ioctx->n_rbuf = 0;
|
||||
|
||||
@@ -245,7 +245,6 @@ struct srpt_tsk_mgmt {
|
||||
* @rbufs: Pointer to SRP data buffer array.
|
||||
* @single_rbuf: SRP data buffer if the command has only a single buffer.
|
||||
* @sg: Pointer to sg-list associated with this I/O context.
|
||||
* @spinlock: Protects 'state'.
|
||||
* @state: I/O context state.
|
||||
* @rdma_aborted: If initiating a multipart RDMA transfer failed, whether
|
||||
* the already initiated transfers have finished.
|
||||
@@ -273,7 +272,6 @@ struct srpt_send_ioctx {
|
||||
struct srp_direct_buf single_rbuf;
|
||||
struct scatterlist *sg;
|
||||
struct list_head free_list;
|
||||
spinlock_t spinlock;
|
||||
enum srpt_command_state state;
|
||||
bool rdma_aborted;
|
||||
int sg_cnt;
|
||||
|
||||
Reference in New Issue
Block a user