summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-10-06 04:06:44 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-06 04:27:54 +0400
commit7c6d45e665d5322401e4439060bbf758b08422d4 (patch)
treeb5ff24f1484073bb37e6b52a61177c5004602c73 /arch
parente1d9694cae722d00a94fb58f901aa69c9c324a16 (diff)
downloadlinux-7c6d45e665d5322401e4439060bbf758b08422d4.tar.xz
powerpc: remove unused variable
Since powerpc uses -Werror on arch powerpc, the build was broken like this: cc1: warnings being treated as errors arch/powerpc/kernel/module.c: In function 'module_finalize': arch/powerpc/kernel/module.c:66: error: unused variable 'err' Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/module.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/module.c b/arch/powerpc/kernel/module.c
index 4ef93ae2235f..49cee9df225b 100644
--- a/arch/powerpc/kernel/module.c
+++ b/arch/powerpc/kernel/module.c
@@ -63,7 +63,6 @@ int module_finalize(const Elf_Ehdr *hdr,
const Elf_Shdr *sechdrs, struct module *me)
{
const Elf_Shdr *sect;
- int err;
/* Apply feature fixups */
sect = find_section(hdr, sechdrs, "__ftr_fixup");