Skip to contentSkip to conversation

Unused variables in ppc64 prom.c

TRIVIAL David Gibson 1 participant 1 message May 22, 2003

lore
Share & tools
lore
#0 lore raw

Anton, please apply. This removes a bunch of unused variables in prom_init(), squashing the associated warnings.

arch/ppc64/kernel/prom.c +2 -3
diff -urN for-linus-ppc64/arch/ppc64/kernel/prom.c linux-congo/arch/ppc64/kernel/prom.c
@@ -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;
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson