From 83190e29d3ab77c335c29f77dbef8fbe83b9a032 Mon Sep 17 00:00:00 2001 From: Semen Ustimenko Date: Wed, 18 Dec 2002 22:53:24 +0000 Subject: Do not return(foo()) in void function. Submitted by: marius@alchemy.franken.de MFC after: 3 days --- sys/dev/exca/excavar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/exca') diff --git a/sys/dev/exca/excavar.h b/sys/dev/exca/excavar.h index 1bdd9bf4e959..327292c48c3d 100644 --- a/sys/dev/exca/excavar.h +++ b/sys/dev/exca/excavar.h @@ -100,7 +100,7 @@ exca_read(struct exca_softc *sc, int reg) static __inline void exca_write(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 __inline void -- cgit v1.3