mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-22 02:24:57 +08:00
IB/srpt: Remove an unused structure member
Fixes: commit a42d985bd5
("ib_srpt: Initial SRP Target merge for v3.3-rc1")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
parent
a1ffa4670c
commit
1b0bb73f72
@ -1123,7 +1123,6 @@ static struct srpt_send_ioctx *srpt_get_send_ioctx(struct srpt_rdma_ch *ch)
|
|||||||
ioctx->state = SRPT_STATE_NEW;
|
ioctx->state = SRPT_STATE_NEW;
|
||||||
ioctx->n_rdma = 0;
|
ioctx->n_rdma = 0;
|
||||||
ioctx->n_rw_ctx = 0;
|
ioctx->n_rw_ctx = 0;
|
||||||
init_completion(&ioctx->tx_done);
|
|
||||||
ioctx->queue_status_only = false;
|
ioctx->queue_status_only = false;
|
||||||
/*
|
/*
|
||||||
* transport_init_se_cmd() does not initialize all fields, so do it
|
* transport_init_se_cmd() does not initialize all fields, so do it
|
||||||
|
@ -207,7 +207,6 @@ struct srpt_send_ioctx {
|
|||||||
spinlock_t spinlock;
|
spinlock_t spinlock;
|
||||||
enum srpt_command_state state;
|
enum srpt_command_state state;
|
||||||
struct se_cmd cmd;
|
struct se_cmd cmd;
|
||||||
struct completion tx_done;
|
|
||||||
u8 n_rdma;
|
u8 n_rdma;
|
||||||
u8 n_rw_ctx;
|
u8 n_rw_ctx;
|
||||||
bool queue_status_only;
|
bool queue_status_only;
|
||||||
|
Loading…
Reference in New Issue
Block a user