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 now-unused variable.



details:   https://anonhg.NetBSD.org/src/rev/2623cbbcba11
branches:  trunk
changeset: 319965:2623cbbcba11
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jun 17 01:07:06 2018 +0000

description:
Remove now-unused variable.

diffstat:

 sys/dev/i2c/am2315.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a76ef84d7bdc -r 2623cbbcba11 sys/dev/i2c/am2315.c
--- a/sys/dev/i2c/am2315.c      Sun Jun 17 00:33:05 2018 +0000
+++ b/sys/dev/i2c/am2315.c      Sun Jun 17 01:07:06 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am2315.c,v 1.3 2018/06/16 21:22:13 thorpej Exp $       */
+/*     $NetBSD: am2315.c,v 1.4 2018/06/17 01:07:06 thorpej Exp $       */
 
 /*
  * Copyright (c) 2017 Brad Spencer <brad%anduin.eldar.org@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: am2315.c,v 1.3 2018/06/16 21:22:13 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am2315.c,v 1.4 2018/06/17 01:07:06 thorpej Exp $");
 
 /*
  * Driver for the Aosong AM2315
@@ -172,7 +172,6 @@
 {
        struct i2c_attach_args *ia = aux;
        int rv;
-       const bool matchdebug = false;
        int match_result;
 
        if (iic_use_direct_match(ia, match, NULL, &match_result))



Home | Main Index | Thread Index | Old Index