summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/ad1816.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/isa/ad1816.c')
-rw-r--r--sys/dev/sound/isa/ad1816.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sound/isa/ad1816.c b/sys/dev/sound/isa/ad1816.c
index 7871240..6f14d9a 100644
--- a/sys/dev/sound/isa/ad1816.c
+++ b/sys/dev/sound/isa/ad1816.c
@@ -102,9 +102,9 @@ static void
port_wr(struct resource *port, int off, u_int8_t data)
{
if (port)
- 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
@@ -116,7 +116,7 @@ io_rd(struct ad1816_info *ad1816, int reg)
static void
io_wr(struct ad1816_info *ad1816, int reg, u_int8_t data)
{
- return port_wr(ad1816->io_base, reg, data);
+ port_wr(ad1816->io_base, reg, data);
}
static void
OpenPOWER on IntegriCloud