From: Aristeu Sergio Rozanski Filho Date: Sun, 7 Aug 2005 16:42:46 +0000 (-0700) Subject: [PATCH] ppc32: 8xx kill unused variable in commproc X-Git-Tag: firefly_0821_release~42397 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=204085c52aa9975a90a894cb385360a141f1e4a3;p=firefly-linux-kernel-4.4.55.git [PATCH] ppc32: 8xx kill unused variable in commproc 8xx: commproc.c: kill unused variable Signed-off-by: Aristeu Sergio Rozanski Filho Signed-off-by: Marcelo Tosatti Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index 0cc2e7a9cb11..67194c18dd5c 100644 --- a/arch/ppc/8xx_io/commproc.c +++ b/arch/ppc/8xx_io/commproc.c @@ -384,8 +384,6 @@ static rh_info_t cpm_dpmem_info; void m8xx_cpm_dpinit(void) { - cpm8xx_t *cp = &((immap_t *)IMAP_ADDR)->im_cpm; - spin_lock_init(&cpm_dpmem_lock); /* Initialize the info header */