Skip to content

Commit

Permalink
IB/srp: Remove an unused argument
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
  • Loading branch information
Bart Van Assche authored and dledford committed Oct 7, 2016
1 parent 5274612 commit 52bb8c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ static int srp_map_finish_fr(struct srp_map_state *state,

static int srp_map_sg_entry(struct srp_map_state *state,
struct srp_rdma_ch *ch,
struct scatterlist *sg, int sg_index)
struct scatterlist *sg)
{
struct srp_target_port *target = ch->target;
struct srp_device *dev = target->srp_host->srp_dev;
Expand Down Expand Up @@ -1441,7 +1441,7 @@ static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch,
state->fmr.end = req->fmr_list + ch->target->mr_per_cmd;

for_each_sg(scat, sg, count, i) {
ret = srp_map_sg_entry(state, ch, sg, i);
ret = srp_map_sg_entry(state, ch, sg);
if (ret)
return ret;
}
Expand Down

0 comments on commit 52bb8c6

Please sign in to comment.