diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-10-13 18:11:40 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-10-29 03:27:19 +0100 |
commit | 51c2b8e2ac872cd90a12c5e606eeb0daf1a91e25 (patch) | |
tree | b1e12f39d9c7ab7879055a067e5187e9b704b60b /drivers/infiniband | |
parent | IB/srp: Convert to new registration API (diff) | |
download | linux-51c2b8e2ac872cd90a12c5e606eeb0daf1a91e25.tar.xz linux-51c2b8e2ac872cd90a12c5e606eeb0daf1a91e25.zip |
IB/srp: Remove srp_finish_mapping
No callers left, remove it.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Tested-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index f2c8dcaf96a7..cf54e239f842 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c @@ -1368,16 +1368,6 @@ static int srp_map_finish_fr(struct srp_map_state *state, return n; } -static int srp_finish_mapping(struct srp_map_state *state, - struct srp_rdma_ch *ch) -{ - struct srp_target_port *target = ch->target; - struct srp_device *dev = target->srp_host->srp_dev; - - return dev->use_fast_reg ? srp_map_finish_fr(state, ch) : - srp_map_finish_fmr(state, ch); -} - static int srp_map_sg_entry(struct srp_map_state *state, struct srp_rdma_ch *ch, struct scatterlist *sg, int sg_index) |