Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Oops, another one.



details:   https://anonhg.NetBSD.org/src/rev/553633d16bfe
branches:  trunk
changeset: 323496:553633d16bfe
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jun 17 01:08:15 2018 +0000

description:
Oops, another one.

diffstat:

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

diffs (26 lines):

diff -r 309718255728 -r 553633d16bfe sys/dev/i2c/am2315.c
--- a/sys/dev/i2c/am2315.c      Sun Jun 17 01:07:06 2018 +0000
+++ b/sys/dev/i2c/am2315.c      Sun Jun 17 01:08:15 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: am2315.c,v 1.4 2018/06/17 01:07:06 thorpej Exp $       */
+/*     $NetBSD: am2315.c,v 1.5 2018/06/17 01:08:15 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.4 2018/06/17 01:07:06 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: am2315.c,v 1.5 2018/06/17 01:08:15 thorpej Exp $");
 
 /*
  * Driver for the Aosong AM2315
@@ -171,7 +171,6 @@
 am2315_match(device_t parent, cfdata_t match, void *aux)
 {
        struct i2c_attach_args *ia = aux;
-       int rv;
        int match_result;
 
        if (iic_use_direct_match(ia, match, NULL, &match_result))



Home | Main Index | Thread Index | Old Index