Commit 48df450c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: Unused variables in ppc64 prom.c

From: David Gibson <david@gibson.dropbear.id.au>

This removes a bunch of unused variables in prom_init(), squashing the
associated warnings.
parent ea8b5b2e
...@@ -1060,12 +1060,11 @@ unsigned long __init ...@@ -1060,12 +1060,11 @@ unsigned long __init
prom_init(unsigned long r3, unsigned long r4, unsigned long pp, prom_init(unsigned long r3, unsigned long r4, unsigned long pp,
unsigned long r6, unsigned long r7) unsigned long r6, unsigned long r7)
{ {
int chrp = 0;
unsigned long mem; unsigned long mem;
ihandle prom_mmu, prom_op, prom_root, prom_cpu; ihandle prom_root, prom_cpu;
phandle cpu_pkg; phandle cpu_pkg;
unsigned long offset = reloc_offset(); unsigned long offset = reloc_offset();
long l, sz; long l;
char *p, *d; char *p, *d;
unsigned long phys; unsigned long phys;
u32 getprop_rval; u32 getprop_rval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment