From: H Hartley Sweeten Date: Tue, 26 Nov 2013 23:41:41 +0000 (-0700) Subject: staging: comedi: cb_pcimdas: remove commented out irq init code X-Git-Tag: v3.14-rc1~13^2~644 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=279579e40b0b2982cf9a2df10d999b6aecf43509;p=platform%2Fkernel%2Flinux-exynos.git staging: comedi: cb_pcimdas: remove commented out irq init code This driver does not have interrupt support. Remove the commented out code that requests the irq. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/cb_pcimdas.c b/drivers/staging/comedi/drivers/cb_pcimdas.c index 04dc200..da66950 100644 --- a/drivers/staging/comedi/drivers/cb_pcimdas.c +++ b/drivers/staging/comedi/drivers/cb_pcimdas.c @@ -219,15 +219,6 @@ static int cb_pcimdas_auto_attach(struct comedi_device *dev, devpriv->BADR3 = pci_resource_start(pcidev, 3); iobase_8255 = pci_resource_start(pcidev, 4); -/* Dont support IRQ yet */ -/* get irq */ -/* if(request_irq(pcidev->irq, cb_pcimdas_interrupt, IRQF_SHARED, "cb_pcimdas", dev )) */ -/* { */ -/* printk(" unable to allocate irq %u\n", pcidev->irq); */ -/* return -EINVAL; */ -/* } */ -/* dev->irq = pcidev->irq; */ - ret = comedi_alloc_subdevices(dev, 3); if (ret) return ret;