btf_loader: No need for the 'strings' extern, not used

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2021-06-28 13:46:35 -03:00
parent a388aaf489
commit 2499920ac8
1 changed files with 0 additions and 6 deletions

View File

@ -29,12 +29,6 @@
#include "dutil.h"
#include "dwarves.h"
/*
* FIXME: We should just get the table from the BTF ELF section
* and use it directly
*/
extern struct strings *strings;
static const char *cu__btf_str(struct cu *cu, uint32_t offset)
{
return offset ? btf__str_by_offset(cu->priv, offset) : NULL;