From 396fe28401e391b2c3e6da07f4bde9c97b43dddb Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 5 Feb 2004 16:02:53 +0100 Subject: [PATCH] ALSA CVS update - Jaroslav Kysela VIA82xx driver Removed duplicated code --- sound/pci/via82xx.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sound/pci/via82xx.c b/sound/pci/via82xx.c index dfcfa928fb537..b3940692dd339 100644 --- a/sound/pci/via82xx.c +++ b/sound/pci/via82xx.c @@ -1641,14 +1641,6 @@ static int snd_via686_init_misc(via82xx_t *chip, int dev) } else { mpu_port[dev] = pci_resource_start(chip->pci, 2); } - if (mpu_port[dev] >= 0x200 && - (chip->mpu_res = request_region(pci_resource_start(chip->pci, 2), 2, - "VIA82xx MPU401")) != NULL) { - legacy |= VIA_FUNC_ENABLE_MIDI; - } else { - mpu_port[dev] = 0; - legacy &= ~VIA_FUNC_ENABLE_MIDI; - } } else { switch (mpu_port[dev]) { /* force MIDI */ case 0x300: -- 2.53.0