aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/sound/cs4232.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2000-01-24 08:16:15 +0000
committerBruce Evans <bde@FreeBSD.org>2000-01-24 08:16:15 +0000
commit13d4ed2caa86526124f73b0362ca51d518bdab2b (patch)
tree5b920ef64c2e374ffa1666c84153013ba754133a /sys/i386/isa/sound/cs4232.c
parentcd382292beeaae6278062a936805c47524cc4e14 (diff)
downloadsrc-13d4ed2caa86526124f73b0362ca51d518bdab2b.tar.gz
src-13d4ed2caa86526124f73b0362ca51d518bdab2b.zip
Removed assignment to an "unused" variable that was removed in the
previous commit. Building LINT didn't expose this bug, because the assignment was in an ifdef that is too tangled for LINT to cover properly.
Notes
Notes: svn path=/head/; revision=56510
Diffstat (limited to 'sys/i386/isa/sound/cs4232.c')
-rw-r--r--sys/i386/isa/sound/cs4232.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i386/isa/sound/cs4232.c b/sys/i386/isa/sound/cs4232.c
index 7831f9e9ddb9..e5b87264cc76 100644
--- a/sys/i386/isa/sound/cs4232.c
+++ b/sys/i386/isa/sound/cs4232.c
@@ -191,12 +191,10 @@ attach_cs4232(struct address_info * hw_config)
hw_config2.card_subtype = 0;
hw_config2.osp = hw_config->osp;
- if (probe_mpu401(&hw_config2)) {
- mpu_detected = 1;
+ if (probe_mpu401(&hw_config2))
attach_mpu401(&hw_config2);
- } else {
+ else
mpu_base = mpu_irq = 0;
- }
}
#endif
}