From 2499920ac8d88b82d552e01a72968ebea3480b68 Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Mon, 28 Jun 2021 13:46:35 -0300 Subject: [PATCH] btf_loader: No need for the 'strings' extern, not used Signed-off-by: Arnaldo Carvalho de Melo --- btf_loader.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/btf_loader.c b/btf_loader.c index 5957572..af13fab 100644 --- a/btf_loader.c +++ b/btf_loader.c @@ -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;