Skip to content

Commit

Permalink
staging: comedi: adl_pci9111: remove INTERRUPT_DEBUG code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent 1fbc937 commit 9852d13
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/comedi/drivers/adl_pci9111.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9852d13

Please sign in to comment.