[PATCH] 8xx: kill unused variable in commproc

Aristeu Sergio Rozanski Filho aris at cathedrallabs.org
Sun Aug 7 04:05:50 EST 2005


8xx: commproc.c: kill unused variable

Signed-off-by: Aristeu Sergio Rozanski Filho <aris at cathedrallabs.org>

Index: 2.6-8xx/arch/ppc/8xx_io/commproc.c
===================================================================
--- 2.6-8xx.orig/arch/ppc/8xx_io/commproc.c	2005-08-05 17:16:15.000000000 -0300
+++ 2.6-8xx/arch/ppc/8xx_io/commproc.c	2005-08-05 17:20:12.000000000 -0300
@@ -384,8 +384,6 @@
 
 void m8xx_cpm_dpinit(void)
 {
-	cpm8xx_t *cp = &((immap_t *)IMAP_ADDR)->im_cpm;
-
 	spin_lock_init(&cpm_dpmem_lock);
 
 	/* Initialize the info header */



More information about the Linuxppc-embedded mailing list