From: H Hartley Sweeten Date: Tue, 11 Sep 2012 02:00:29 +0000 (-0700) Subject: staging: comedi: adl_pci9111: remove INTERRUPT_DEBUG code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9852d13745bef4158e152c3b00f0678ca1b5ccb7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging: comedi: adl_pci9111: remove INTERRUPT_DEBUG code This debug output should be removed in the final driver. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/adl_pci9111.c b/drivers/staging/comedi/drivers/adl_pci9111.c index f9d874bb8c4b..6d20e59c6964 100644 --- a/drivers/staging/comedi/drivers/adl_pci9111.c +++ b/drivers/staging/comedi/drivers/adl_pci9111.c @@ -708,8 +708,6 @@ static void pci9111_ai_munge(struct comedi_device *dev, /* INTERRUPT SECTION */ /* ------------------------------------------------------------------ */ -#undef INTERRUPT_DEBUG - static irqreturn_t pci9111_interrupt(int irq, void *p_device) { struct comedi_device *dev = p_device; @@ -762,10 +760,6 @@ static irqreturn_t pci9111_interrupt(int irq, void *p_device) unsigned int num_samples; unsigned int bytes_written = 0; -#ifdef INTERRUPT_DEBUG - printk(PCI9111_DRIVER_NAME ": fifo is half full\n"); -#endif - num_samples = PCI9111_FIFO_HALF_SIZE > dev_private->stop_counter