got rid of useless irq_mask variable.
authorFrank Mori Hess <fmhess@speakeasy.net>
Sun, 11 Jun 2006 21:02:52 +0000 (21:02 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sun, 11 Jun 2006 21:02:52 +0000 (21:02 +0000)
comedi/drivers/ni_mio_cs.c

index 4cb785d5cf590e42c3387fda342838ec46767633..4201829b97d845416ef4360e69c8e18b8e287944 100644 (file)
@@ -252,7 +252,6 @@ static int mio_cs_detach(comedi_device *dev)
 static void mio_cs_config(dev_link_t *link);
 static void cs_release(u_long arg);
 static void cs_detach(struct pcmcia_device *);
-static int irq_mask;
 
 static dev_link_t *dev_list = NULL;
 static dev_info_t dev_info = "ni_mio_cs";
@@ -273,7 +272,6 @@ static int cs_attach(struct pcmcia_device *p_dev)
        link->io.NumPorts1 = 16;
        link->irq.Attributes = IRQ_TYPE_EXCLUSIVE;
        link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID;
-       link->irq.IRQInfo2 = irq_mask;
        link->conf.Attributes = CONF_ENABLE_IRQ;
        link->conf.Vcc = 50;
        link->conf.IntType = INT_MEMORY_AND_IO;