Skip to content
Snippets Groups Projects
Commit 7c6d45e6 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds
Browse files

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent e1d9694c
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment