From 26028fee6fa5cfd6aa4398dac17899eab1f137eb Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 31 May 2003 16:51:41 +0000 Subject: 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(-) (limited to 'sys') 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 -- cgit v1.3