Source-Changes-HG archive

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

[src/thorpej-i2c-spi-conf2]: src/sys/dev/i2c iic_devslot_remove(): remove an ...



details:   https://anonhg.NetBSD.org/src/rev/483239ef1888
branches:  thorpej-i2c-spi-conf2
changeset: 1024901:483239ef1888
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Sep 12 22:02:19 2021 +0000

description:
iic_devslot_remove(): remove an errant "return false;" (the result of
a paste-o).

diffstat:

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

diffs (26 lines):

diff -r 2613951b24af -r 483239ef1888 sys/dev/i2c/i2c.c
--- a/sys/dev/i2c/i2c.c Sun Sep 12 19:23:27 2021 +0000
+++ b/sys/dev/i2c/i2c.c Sun Sep 12 22:02:19 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i2c.c,v 1.80.2.6 2021/09/11 01:03:18 thorpej Exp $     */
+/*     $NetBSD: i2c.c,v 1.80.2.7 2021/09/12 22:02:19 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -69,7 +69,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.80.2.6 2021/09/11 01:03:18 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i2c.c,v 1.80.2.7 2021/09/12 22:02:19 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -274,7 +274,6 @@
 
        if (link != NULL) {
                kmem_free(link, sizeof(*link));
-               return false;
        }
        return rv;
 }



Home | Main Index | Thread Index | Old Index