summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/ess.c
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/sound/isa/ess.c
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/sound/isa/ess.c')
-rw-r--r--sys/dev/sound/isa/ess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/isa/ess.c b/sys/dev/sound/isa/ess.c
index 48b6288..35c4fff 100644
--- a/sys/dev/sound/isa/ess.c
+++ b/sys/dev/sound/isa/ess.c
@@ -155,9 +155,9 @@ port_rd(struct resource *port, int off)
static void
port_wr(struct resource *port, int off, u_int8_t data)
{
- return bus_space_write_1(rman_get_bustag(port),
- rman_get_bushandle(port),
- off, data);
+ bus_space_write_1(rman_get_bustag(port),
+ rman_get_bushandle(port),
+ off, data);
}
static int
OpenPOWER on IntegriCloud