diff options
author | semenu <semenu@FreeBSD.org> | 2002-12-18 22:53:24 +0000 |
---|---|---|
committer | semenu <semenu@FreeBSD.org> | 2002-12-18 22:53:24 +0000 |
commit | af97d007f0db44bbfc226fd95063219f5f53c404 (patch) | |
tree | 12f52f6bbabbd23a4c7d624b5a337479336c0a75 /sys/dev/sound/isa/ad1816.c | |
parent | 9a2c44c9d9f611680d0d308c63d0dfad245b1dc2 (diff) | |
download | FreeBSD-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/ad1816.c')
-rw-r--r-- | sys/dev/sound/isa/ad1816.c | 8 |
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 |