bpf: drop unused parameter to bpf_report_map_in_map

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Stephen Hemminger 2017-08-24 15:02:58 -07:00
parent 0efa625765
commit 0b5eadc54f
1 changed files with 2 additions and 2 deletions

View File

@ -1516,7 +1516,7 @@ static int bpf_find_map_id(const struct bpf_elf_ctx *ctx, uint32_t id)
return -ENOENT;
}
static void bpf_report_map_in_map(int outer_fd, int inner_fd, uint32_t idx)
static void bpf_report_map_in_map(int outer_fd, uint32_t idx)
{
struct bpf_elf_map outer_map;
int ret;
@ -1683,7 +1683,7 @@ static int bpf_maps_attach_all(struct bpf_elf_ctx *ctx)
&inner_fd, BPF_ANY);
if (ret < 0) {
bpf_report_map_in_map(ctx->map_fds[j],
inner_fd, inner_idx);
inner_idx);
return ret;
}
}