projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bf896
)
x86, relocs: Remove an unused variable
author
Kusanagi Kouichi
<slash@ac.auone-net.jp>
Sun, 1 Apr 2012 08:29:32 +0000
(17:29 +0900)
committer
Jiri Kosina
<jkosina@suse.cz>
Mon, 30 Apr 2012 11:14:28 +0000
(13:14 +0200)
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>
arch/x86/boot/compressed/relocs.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/boot/compressed/relocs.c
b/arch/x86/boot/compressed/relocs.c
index d3c0b027766656c69dfc82404b74de3849eaadaa..fb7117a4ade1e259c69d45b47d4ffc3b62196540 100644
(file)
--- 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;