Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Stephen Rothwell and committed by
Linus Torvalds
7c6d45e6 e1d9694c

-1
-1
arch/powerpc/kernel/module.c
··· 63 63 const Elf_Shdr *sechdrs, struct module *me) 64 64 { 65 65 const Elf_Shdr *sect; 66 - int err; 67 66 68 67 /* Apply feature fixups */ 69 68 sect = find_section(hdr, sechdrs, "__ftr_fixup");