diff --git a/tools/objtool/elf.c b/tools/objtool/elf.c
index e99e1be19ad9b54c86fc7c561231ea081e3c33ee..76e4f7ceab821627fc0fbe9b94d336958772320b 100644
--- a/tools/objtool/elf.c
+++ b/tools/objtool/elf.c
@@ -463,7 +463,7 @@ struct section *elf_create_section(struct elf *elf, const char *name,
 {
 	struct section *sec, *shstrtab;
 	size_t size = entsize * nr;
-	struct Elf_Scn *s;
+	Elf_Scn *s;
 	Elf_Data *data;
 
 	sec = malloc(sizeof(*sec));