summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/isa/mss.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/isa/mss.c')
-rw-r--r--sys/dev/sound/isa/mss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c
index 01d9bee..42d52a7 100644
--- a/sys/dev/sound/isa/mss.c
+++ b/sys/dev/sound/isa/mss.c
@@ -198,9 +198,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
@@ -214,7 +214,7 @@ static void
io_wr(struct mss_info *mss, int reg, u_int8_t data)
{
if (mss->bd_flags & BD_F_MSS_OFFSET) reg -= 4;
- return port_wr(mss->io_base, reg, data);
+ port_wr(mss->io_base, reg, data);
}
static void
OpenPOWER on IntegriCloud