* 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 2012-01-18 13:54:59 +01:00
parent 8502fbca04
commit 22489834b3
2 changed files with 5 additions and 3 deletions

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))