diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 16:51:41 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 16:51:41 +0000 |
commit | f68a8dce0de3d23549be8ed7b3ad30501dc1b207 (patch) | |
tree | 159c9ee046743f1bd0c7e6a1c7fad95da453cd54 /sys/dev/exca | |
parent | 9c455f6a96d95072da3609172da2e475939ef6e6 (diff) | |
download | FreeBSD-src-f68a8dce0de3d23549be8ed7b3ad30501dc1b207.zip FreeBSD-src-f68a8dce0de3d23549be8ed7b3ad30501dc1b207.tar.gz |
Don't use return(foo(...)); in function returning void.
Found by: FlexeLint
Diffstat (limited to 'sys/dev/exca')
-rw-r--r-- | sys/dev/exca/exca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c index 7160a81..5245b2b 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 |