]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: comedi: adl_pci9111: remove INTERRUPT_DEBUG code
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 11 Sep 2012 02:00:29 +0000 (19:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 03:05:55 +0000 (20:05 -0700)
This debug output should be removed in the final driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/adl_pci9111.c

index f9d874bb8c4b2ff8df151f6cbb3e2f36f7681cd5..6d20e59c696488e280166e910ab46ed77d46974e 100644 (file)
@@ -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