* grub-core/kern/powerpc/dl.c (grub_arch_dl_get_tramp_got_size): Remove

set but not used variable.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2012-01-18 13:54:59 +01:00
1 parent 8502fbca04
commit 22489834b3
2 files changed
+5 -3

No files matched your search

-3
View File
@@ -43,7 +43,6 @@ grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp,
{
const Elf_Ehdr *e = ehdr;
const Elf_Shdr *s;
Elf_Word entsize;
unsigned i;
*tramp = 0;
@@ -59,8 +58,6 @@ grub_arch_dl_get_tramp_got_size (const void *ehdr, grub_size_t *tramp,
if (i == e->e_shnum)
return;
entsize = s->sh_entsize;
for (i = 0, s = (const Elf_Shdr *) ((const char *) e + e->e_shoff);
i < e->e_shnum;
i++, s = (const Elf_Shdr *) ((const char *) s + e->e_shentsize))