From f68a8dce0de3d23549be8ed7b3ad30501dc1b207 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 31 May 2003 16:51:41 +0000 Subject: [PATCH] Don't use return(foo(...)); in function returning void. Found by: FlexeLint --- sys/dev/exca/exca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index 7160a814827c..5245b2b224ef 100644 --- a/sys/dev/exca/exca.c +++ b/sys/dev/exca/exca.c @@ -148,7 +148,7 @@ exca_mem_getb(struct exca_softc *sc, int reg) static void exca_mem_putb(struct exca_softc *sc, int reg, uint8_t val) { - return (bus_space_write_1(sc->bst, sc->bsh, sc->offset + reg, val)); + bus_space_write_1(sc->bst, sc->bsh, sc->offset + reg, val); } static uint8_t