aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/exca
diff options
context:
space:
mode:
authorSemen Ustimenko <semenu@FreeBSD.org>2002-12-18 22:53:24 +0000
committerSemen Ustimenko <semenu@FreeBSD.org>2002-12-18 22:53:24 +0000
commit83190e29d3ab77c335c29f77dbef8fbe83b9a032 (patch)
tree12f52f6bbabbd23a4c7d624b5a337479336c0a75 /sys/dev/exca
parent5fa6546535583c3690a2d2f7faf5a82e886af619 (diff)
downloadsrc-83190e29d3ab77c335c29f77dbef8fbe83b9a032.tar.gz
src-83190e29d3ab77c335c29f77dbef8fbe83b9a032.zip
Do not return(foo()) in void function.
Submitted by: marius@alchemy.franken.de MFC after: 3 days
Notes
Notes: svn path=/head/; revision=108064
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 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