pcmcia: simplify Status, ExtStatus register access
[linux-2.6.git] / drivers / staging / comedi / drivers / ni_daq_dio24.c
index 773ae20..ba69343 100644 (file)
@@ -302,10 +302,8 @@ static int dio24_pcmcia_config_loop(struct pcmcia_device *p_dev,
                return -ENODEV;
 
        /* Does this card need audio output? */
-       if (cfg->flags & CISTPL_CFTABLE_AUDIO) {
+       if (cfg->flags & CISTPL_CFTABLE_AUDIO)
                p_dev->conf.Attributes |= CONF_ENABLE_SPKR;
-               p_dev->conf.Status = CCSR_AUDIO_ENA;
-       }
 
        /* Do we need to allocate an interrupt? */
        p_dev->conf.Attributes |= CONF_ENABLE_IRQ;