From df8760b4553548a2c0a21c46b6b961f745fcad9b Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 24 Jan 2000 08:16:15 +0000 Subject: 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. --- sys/i386/isa/sound/cs4232.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/i386') 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 } -- cgit v1.1