diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-04-22 14:15:04 -0700 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-05-12 14:18:57 -0400 |
commit | 3849e44d1c4b11c9e0f0f0343a0360b5e9594fb6 (patch) | |
tree | e5ef4f5045a46ef39380c7d2a514a3e2c6ee9d9d /drivers/infiniband/ulp/srp | |
parent | 3b59b7a693b0e5b2dc244bcd78899aa2585a434b (diff) |
IB/srp: Move common code into the caller
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Laurence Oberman <loberman@redhat.com>
Reviewed-by: Sagi Grimberg <sai@grimberg.m>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index ce2c379272cf..427dee3a3ab0 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1409,7 +1409,6 @@ static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch, struct scatterlist *sg; int i, ret; - state->desc = req->indirect_desc; state->pages = req->map_page; state->fmr.next = req->fmr_list; state->fmr.end = req->fmr_list + ch->target->cmd_sg_cnt; |