mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
IB/srp: Remove srp_finish_mapping
No callers left, remove it. Signed-off-by: Sagi Grimberg <[email protected]> Tested-by: Bart Van Assche <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
f7f7aab1a5
commit
51c2b8e2ac
1 changed files with 0 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue