From 9b9971aac7b89596695f15ed4763d9fd2b876ca8 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Sun, 22 Mar 2015 07:59:48 +0000 Subject: [PATCH] [AArch64] Remove unused variable. --- bfd/ChangeLog | 4 ++++ bfd/elfnn-aarch64.c | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fc155bdbd8d..478a9f1230b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2015-03-23 Marcus Shawcroft + + * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx. + 2015-03-23 Marcus Shawcroft * elfnn-aarch64.c (aarch64_erratum_835769_fixes) diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index 5d47f8e818a..65dab9a1ec6 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -3191,13 +3191,12 @@ elfNN_aarch64_size_stubs (bfd *output_bfd, while (1) { bfd *input_bfd; - unsigned int bfd_indx; asection *stub_sec; unsigned prev_num_erratum_835769_fixes = num_erratum_835769_fixes; num_erratum_835769_fixes = 0; - for (input_bfd = info->input_bfds, bfd_indx = 0; - input_bfd != NULL; input_bfd = input_bfd->link.next, bfd_indx++) + for (input_bfd = info->input_bfds; + input_bfd != NULL; input_bfd = input_bfd->link.next) { Elf_Internal_Shdr *symtab_hdr; asection *section; -- 2.30.2