core: Ditch unused enumeration__prefix() method

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-25 10:09:42 -03:00
parent e18c60d793
commit 5cc365164a
2 changed files with 0 additions and 9 deletions

View File

@ -1746,14 +1746,6 @@ void enumerations__calc_prefix(struct list_head *enumerations)
enumeration__calc_prefix(tag__type(pos->tc.tag));
}
const char *enumeration__prefix(struct type *enumeration, const struct cu *cu)
{
if (!enumeration->member_prefix)
enumeration__calc_prefix(enumeration);
return enumeration->member_prefix;
}
uint16_t enumeration__prefix_len(struct type *enumeration, const struct cu *cu)
{
if (!enumeration->member_prefix)

View File

@ -1087,7 +1087,6 @@ struct class_member *type__find_member_by_name(const struct type *type, const ch
uint32_t type__nr_members_of_type(const struct type *type, const type_id_t oftype);
struct class_member *type__last_member(struct type *type);
const char *enumeration__prefix(struct type *type, const struct cu *cu);
uint16_t enumeration__prefix_len(struct type *type, const struct cu *cu);
void enumerations__calc_prefix(struct list_head *enumerations);