diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:27:34 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2020-09-01 21:27:34 +0000 |
commit | 378503af2e65497a3503301d51a2e96a9478ebf0 (patch) | |
tree | ebcca77c9dac4fa1da09314757c7c7a63577cf4b /sys/dev/sound/isa/sb16.c | |
parent | 9dd3156e546b29b1e6c3047578e91b1d098af171 (diff) |
sound: clean up empty lines in .c and .h files
Notes
Notes:
svn path=/head/; revision=365085
Diffstat (limited to 'sys/dev/sound/isa/sb16.c')
-rw-r--r-- | sys/dev/sound/isa/sb16.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c index cf7dd54199dc..73ec7c56245e 100644 --- a/sys/dev/sound/isa/sb16.c +++ b/sys/dev/sound/isa/sb16.c @@ -125,19 +125,16 @@ static void sb_intr(void *arg); static void sb_lock(struct sb_info *sb) { - sbc_lock(device_get_softc(sb->parent_dev)); } static void sb_lockassert(struct sb_info *sb) { - sbc_lockassert(device_get_softc(sb->parent_dev)); } static void sb_unlock(struct sb_info *sb) { - sbc_unlock(device_get_softc(sb->parent_dev)); } @@ -336,7 +333,7 @@ static int rel2abs_volume(int x, int max) { int temp; - + temp = ((x * max) + 50) / 100; if (temp > max) temp = max; @@ -899,7 +896,6 @@ static device_method_t sb16_methods[] = { DEVMETHOD(device_probe, sb16_probe), DEVMETHOD(device_attach, sb16_attach), DEVMETHOD(device_detach, sb16_detach), - { 0, 0 } }; |