summaryrefslogtreecommitdiffstats
path: root/sys/dev/exca
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>2002-12-18 22:53:24 +0000
committersemenu <semenu@FreeBSD.org>2002-12-18 22:53:24 +0000
commitaf97d007f0db44bbfc226fd95063219f5f53c404 (patch)
tree12f52f6bbabbd23a4c7d624b5a337479336c0a75 /sys/dev/exca
parent9a2c44c9d9f611680d0d308c63d0dfad245b1dc2 (diff)
downloadFreeBSD-src-af97d007f0db44bbfc226fd95063219f5f53c404.zip
FreeBSD-src-af97d007f0db44bbfc226fd95063219f5f53c404.tar.gz
Do not return(foo()) in void function.
Submitted by: marius@alchemy.franken.de MFC after: 3 days
Diffstat (limited to 'sys/dev/exca')
-rw-r--r--sys/dev/exca/excavar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/exca/excavar.h b/sys/dev/exca/excavar.h
index 1bdd9bf..327292c 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
OpenPOWER on IntegriCloud