diff options
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0150-x86-relocs-Remove-an-unused-variable.patch')
-rw-r--r-- | recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0150-x86-relocs-Remove-an-unused-variable.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0150-x86-relocs-Remove-an-unused-variable.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0150-x86-relocs-Remove-an-unused-variable.patch new file mode 100644 index 00000000..5b063811 --- /dev/null +++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0150-x86-relocs-Remove-an-unused-variable.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | From 174b97406f578b117e9403dde42ac98f80919a0b Mon Sep 17 00:00:00 2001 | ||
2 | From: Kusanagi Kouichi <slash@ac.auone-net.jp> | ||
3 | Date: Sun, 1 Apr 2012 17:29:32 +0900 | ||
4 | Subject: [PATCH 150/165] x86, relocs: Remove an unused variable | ||
5 | |||
6 | commit 7c77cda0fe742ed07622827ce80963bbeebd1e3f upstream. | ||
7 | |||
8 | sh_symtab is set but not used. | ||
9 | |||
10 | [ hpa: putting this in urgent because of the sheer harmlessness of the patch: | ||
11 | it quiets a build warning but does not change any generated code. ] | ||
12 | |||
13 | Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp> | ||
14 | Link: http://lkml.kernel.org/r/20120401082932.D5E066FC03D@msa105.auone-net.jp | ||
15 | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> | ||
16 | Signed-off-by: Ben Hutchings <ben@decadent.org.uk> | ||
17 | --- | ||
18 | arch/x86/boot/compressed/relocs.c | 2 -- | ||
19 | 1 files changed, 0 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/arch/x86/boot/compressed/relocs.c b/arch/x86/boot/compressed/relocs.c | ||
22 | index 89bbf4e..e77f4e4 100644 | ||
23 | --- a/arch/x86/boot/compressed/relocs.c | ||
24 | +++ b/arch/x86/boot/compressed/relocs.c | ||
25 | @@ -402,13 +402,11 @@ static void print_absolute_symbols(void) | ||
26 | for (i = 0; i < ehdr.e_shnum; i++) { | ||
27 | struct section *sec = &secs[i]; | ||
28 | char *sym_strtab; | ||
29 | - Elf32_Sym *sh_symtab; | ||
30 | int j; | ||
31 | |||
32 | if (sec->shdr.sh_type != SHT_SYMTAB) { | ||
33 | continue; | ||
34 | } | ||
35 | - sh_symtab = sec->symtab; | ||
36 | sym_strtab = sec->link->strtab; | ||
37 | for (j = 0; j < sec->shdr.sh_size/sizeof(Elf32_Sym); j++) { | ||
38 | Elf32_Sym *sym; | ||
39 | -- | ||
40 | 1.7.7.6 | ||
41 | |||