btf_loader: class__fixup_btf_bitfields doesn'n need btfe parameter, ditch it

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-02 13:38:43 -03:00
parent 4d2ae0d904
commit 8c1919c10d
1 changed files with 2 additions and 2 deletions

View File

@ -473,7 +473,7 @@ static int btf__load_sections(struct btf *btf, struct cu *cu)
return btf__load_types(btf, cu);
}
static int class__fixup_btf_bitfields(struct tag *tag, struct cu *cu, struct btf_elf *btfe)
static int class__fixup_btf_bitfields(struct tag *tag, struct cu *cu)
{
struct class_member *pos;
struct type *tag_type = tag__type(tag);
@ -523,7 +523,7 @@ static int cu__fixup_btf_bitfields(struct cu *cu, struct btf_elf *btfe)
list_for_each_entry(pos, &cu->tags, node)
if (tag__is_struct(pos) || tag__is_union(pos)) {
err = class__fixup_btf_bitfields(pos, cu, btfe);
err = class__fixup_btf_bitfields(pos, cu);
if (err)
break;
}