summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-01-24 08:16:15 +0000
committerbde <bde@FreeBSD.org>2000-01-24 08:16:15 +0000
commitdf8760b4553548a2c0a21c46b6b961f745fcad9b (patch)
tree302f0bbe68dfac65fc53aaab9c5da638a0590b27
parent47a5efe34683d09d62f5292a35e5aea4f19d8b8b (diff)
downloadFreeBSD-src-df8760b4553548a2c0a21c46b6b961f745fcad9b.zip
FreeBSD-src-df8760b4553548a2c0a21c46b6b961f745fcad9b.tar.gz
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.
-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 7831f9e..e5b8726 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
}
OpenPOWER on IntegriCloud