* [TRIVIAL] Unused variables in ppc64 prom.c
@ 2003-05-22 6:30 David Gibson
0 siblings, 0 replies; only message in thread
From: David Gibson @ 2003-05-22 6:30 UTC (permalink / raw)
To: Anton Blanchard; +Cc: trivial, linux-kernel
Anton, please apply. This removes a bunch of unused variables in
prom_init(), squashing the associated warnings.
diff -urN for-linus-ppc64/arch/ppc64/kernel/prom.c linux-congo/arch/ppc64/kernel/prom.c
--- for-linus-ppc64/arch/ppc64/kernel/prom.c 2003-05-07 15:10:18.000000000 +1000
+++ linux-congo/arch/ppc64/kernel/prom.c 2003-05-22 15:56:45.000000000 +1000
@@ -1060,12 +1060,11 @@
prom_init(unsigned long r3, unsigned long r4, unsigned long pp,
unsigned long r6, unsigned long r7)
{
- int chrp = 0;
unsigned long mem;
- ihandle prom_mmu, prom_op, prom_root, prom_cpu;
+ ihandle prom_root, prom_cpu;
phandle cpu_pkg;
unsigned long offset = reloc_offset();
- long l, sz;
+ long l;
char *p, *d;
unsigned long phys;
u32 getprop_rval;
--
David Gibson | For every complex problem there is a
david@gibson.dropbear.id.au | solution which is simple, neat and
| wrong.
http://www.ozlabs.org/people/dgibson
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-22 6:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-22 6:30 [TRIVIAL] Unused variables in ppc64 prom.c David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox