Module Name: src Committed By: thorpej Date: Sun Sep 12 22:02:19 UTC 2021
Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf2]: i2c.c Log Message: iic_devslot_remove(): remove an errant "return false;" (the result of a paste-o). To generate a diff of this commit: cvs rdiff -u -r1.80.2.6 -r1.80.2.7 src/sys/dev/i2c/i2c.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/i2c.c diff -u src/sys/dev/i2c/i2c.c:1.80.2.6 src/sys/dev/i2c/i2c.c:1.80.2.7 --- src/sys/dev/i2c/i2c.c:1.80.2.6 Sat Sep 11 01:03:18 2021 +++ src/sys/dev/i2c/i2c.c Sun Sep 12 22:02:19 2021 @@ -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 @@ iic_devslot_remove(struct iic_softc *sc, if (link != NULL) { kmem_free(link, sizeof(*link)); - return false; } return rv; }