Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx/dev Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/997c4292ae9b
branches:  trunk
changeset: 327002:997c4292ae9b
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 25 14:09:13 2014 +0000

description:
Remove unused variable

diffstat:

 sys/arch/powerpc/ibm4xx/dev/ecc_plb.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 595c5d138ce8 -r 997c4292ae9b sys/arch/powerpc/ibm4xx/dev/ecc_plb.c
--- a/sys/arch/powerpc/ibm4xx/dev/ecc_plb.c     Tue Feb 25 14:05:35 2014 +0000
+++ b/sys/arch/powerpc/ibm4xx/dev/ecc_plb.c     Tue Feb 25 14:09:13 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ecc_plb.c,v 1.14 2011/06/18 06:41:42 matt Exp $        */
+/*     $NetBSD: ecc_plb.c,v 1.15 2014/02/25 14:09:13 martin Exp $      */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ecc_plb.c,v 1.14 2011/06/18 06:41:42 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ecc_plb.c,v 1.15 2014/02/25 14:09:13 martin Exp $");
 
 #include "locators.h"
 
@@ -138,7 +138,7 @@
 {
        struct ecc_plb_softc *sc = arg;
        u_int32_t               esr, ear;
-       int                     ce, ue;
+       int                     ue;
        u_quad_t                tb;
        u_long                  tmp, msr, dat;
 
@@ -174,7 +174,6 @@
        if ((tb - sc->sc_ecc_tb) < sc->sc_ecc_iv)
                return(1);
 
-       ce = (esr & SDRAM0_ECCESR_CE) != 0x00;
        ue = (esr & SDRAM0_ECCESR_UE) != 0x00;
 
        printf("ECC: Error CNT=%d ESR=%x EAR=%x %s BKNE=%d%d%d%d "



Home | Main Index | Thread Index | Old Index