Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/0601c45c7271
branches:  trunk
changeset: 792341:0601c45c7271
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Dec 31 14:51:46 2013 +0000

description:
Remove unused variable.

OK rkujawa

diffstat:

 sys/dev/i2c/tps65217pmic.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e944bcb58a43 -r 0601c45c7271 sys/dev/i2c/tps65217pmic.c
--- a/sys/dev/i2c/tps65217pmic.c        Tue Dec 31 14:24:09 2013 +0000
+++ b/sys/dev/i2c/tps65217pmic.c        Tue Dec 31 14:51:46 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tps65217pmic.c,v 1.6 2013/08/04 00:24:28 rkujawa Exp $ */
+/*     $NetBSD: tps65217pmic.c,v 1.7 2013/12/31 14:51:46 skrll Exp $ */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tps65217pmic.c,v 1.6 2013/08/04 00:24:28 rkujawa Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tps65217pmic.c,v 1.7 2013/12/31 14:51:46 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -554,11 +554,10 @@
 static void
 tps65217pmic_print_ppath(struct tps65217pmic_softc *sc)
 {
-       uint8_t status, ppath, regenable;
+       uint8_t status, ppath;
 
        ppath = tps65217pmic_reg_read(sc, TPS65217PMIC_PPATH);
        status = tps65217pmic_reg_read(sc, TPS65217PMIC_STATUS);
-       regenable = tps65217pmic_reg_read(sc, TPS65217PMIC_ENABLE);
 
        aprint_normal_dev(sc->sc_dev, "power sources ");
 



Home | Main Index | Thread Index | Old Index