Skip to content

Commit

Permalink
staging: comedi: adv_pci_dio: remove function trace messages
Browse files Browse the repository at this point in the history
Remove the DPRINTK function trace messages and associated
PCI_DIO_EXTDEBUG define. These should not be 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 4, 2012
1 parent edf5147 commit b850b26
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions drivers/staging/comedi/drivers/adv_pci_dio.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ Configuration options:
#include "8255.h"
#include "8253.h"

#undef PCI_DIO_EXTDEBUG /* if defined, enable extensive debug logging */

#undef DPRINTK
#ifdef PCI_DIO_EXTDEBUG
#define DPRINTK(fmt, args...) printk(fmt, ## args)
#else
#define DPRINTK(fmt, args...)
#endif

#define PCI_VENDOR_ID_ADVANTECH 0x13fe

/* hardware types of the cards */
Expand Down Expand Up @@ -816,8 +807,6 @@ static int pci1760_reset(struct comedi_device *dev)
*/
static int pci_dio_reset(struct comedi_device *dev)
{
DPRINTK("adv_pci_dio EDBG: BGN: pci171x_reset(...)\n");

switch (this_board->cardtype) {
case TYPE_PCI1730:
outb(0, dev->iobase + PCI1730_DO); /* clear outputs */
Expand Down Expand Up @@ -917,8 +906,6 @@ static int pci_dio_reset(struct comedi_device *dev)
break;
}

DPRINTK("adv_pci_dio EDBG: END: pci171x_reset(...)\n");

return 0;
}

Expand Down

0 comments on commit b850b26

Please sign in to comment.