Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/nand chip unused variable; let the system build again



details:   https://anonhg.NetBSD.org/src/rev/a38d113d2f53
branches:  trunk
changeset: 790804:a38d113d2f53
user:      mbalmer <mbalmer%NetBSD.org@localhost>
date:      Mon Oct 21 17:47:28 2013 +0000

description:
chip unused variable; let the system build again

diffstat:

 sys/dev/nand/nand_bbt.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r d6e630eb761d -r a38d113d2f53 sys/dev/nand/nand_bbt.c
--- a/sys/dev/nand/nand_bbt.c   Mon Oct 21 17:14:06 2013 +0000
+++ b/sys/dev/nand/nand_bbt.c   Mon Oct 21 17:47:28 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nand_bbt.c,v 1.5 2013/10/21 15:13:09 christos Exp $    */
+/*     $NetBSD: nand_bbt.c,v 1.6 2013/10/21 17:47:28 mbalmer Exp $     */
 
 /*-
  * Copyright (c) 2011 Department of Software Engineering,
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nand_bbt.c,v 1.5 2013/10/21 15:13:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nand_bbt.c,v 1.6 2013/10/21 17:47:28 mbalmer Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -201,7 +201,6 @@
 nand_bbt_block_mark(device_t self, flash_off_t block, uint8_t marker)
 {
        struct nand_softc *sc = device_private(self);
-       struct nand_chip *chip = &sc->sc_chip;
        struct nand_bbt *bbt = &sc->sc_bbt;
        uint8_t clean;
 
@@ -219,7 +218,6 @@
 nand_bbt_block_isbad(device_t self, flash_off_t block)
 {
        struct nand_softc *sc = device_private(self);
-       struct nand_chip *chip = &sc->sc_chip;
        struct nand_bbt *bbt = &sc->sc_bbt;
        uint8_t byte, marker;
        bool result;



Home | Main Index | Thread Index | Old Index