[AArch64] Remove unused variable.
authorMarcus Shawcroft <marcus.shawcroft@gmail.com>
Sun, 22 Mar 2015 07:59:48 +0000 (07:59 +0000)
committerMarcus Shawcroft <marcus.shawcroft@arm.com>
Mon, 23 Mar 2015 15:20:30 +0000 (15:20 +0000)
bfd/ChangeLog
bfd/elfnn-aarch64.c

index fc155bdbd8df414e87443e899373867e2dab5388..478a9f1230b0e89dfb45f1df44c8efb4f053c52c 100644 (file)
@@ -1,3 +1,7 @@
+2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * elfnn-aarch64.c (elfNN_aarch64_size_stubs): Remove bfd_indx.
+
 2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
        * elfnn-aarch64.c (aarch64_erratum_835769_fixes)
index 5d47f8e818a617e726f24dbb505f1d160402c926..65dab9a1ec672931403ef2356944ca2835dc3f97 100644 (file)
@@ -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;