Module Name: src
Committed By: skrll
Date: Tue Dec 31 14:51:46 UTC 2013
Modified Files:
src/sys/dev/i2c: tps65217pmic.c
Log Message:
Remove unused variable.
OK rkujawa
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/i2c/tps65217pmic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/i2c/tps65217pmic.c
diff -u src/sys/dev/i2c/tps65217pmic.c:1.6 src/sys/dev/i2c/tps65217pmic.c:1.7
--- src/sys/dev/i2c/tps65217pmic.c:1.6 Sun Aug 4 00:24:28 2013
+++ src/sys/dev/i2c/tps65217pmic.c Tue Dec 31 14:51:46 2013
@@ -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 @@ tps65217pmic_print_ldos(struct tps65217p
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 ");