diff options
author | Kusanagi Kouichi <slash@ac.auone-net.jp> | 2012-04-01 17:29:32 +0900 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-04-30 13:14:28 +0200 |
commit | 42a6bd2006c922143cee8d9ec7c4e27526d4d2a3 (patch) | |
tree | 0561c5a6eeb879e04660e2556478b8e999acb7b5 /arch/x86 | |
parent | 59bf896406471ac49d124b3e5f4edcafe28e5360 (diff) | |
download | blackbird-obmc-linux-42a6bd2006c922143cee8d9ec7c4e27526d4d2a3.tar.gz blackbird-obmc-linux-42a6bd2006c922143cee8d9ec7c4e27526d4d2a3.zip |
x86, relocs: Remove an unused variable
sh_symtab is set but not used.
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/boot/compressed/relocs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/relocs.c b/arch/x86/boot/compressed/relocs.c index d3c0b0277666..fb7117a4ade1 100644 --- a/arch/x86/boot/compressed/relocs.c +++ b/arch/x86/boot/compressed/relocs.c @@ -403,13 +403,11 @@ static void print_absolute_symbols(void) for (i = 0; i < ehdr.e_shnum; i++) { struct section *sec = &secs[i]; char *sym_strtab; - Elf32_Sym *sh_symtab; int j; if (sec->shdr.sh_type != SHT_SYMTAB) { continue; } - sh_symtab = sec->symtab; sym_strtab = sec->link->strtab; for (j = 0; j < sec->shdr.sh_size/sizeof(Elf32_Sym); j++) { Elf32_Sym *sym; |