[PATCH 06/20] staging: comedi: adv_pci1723: remove function trace messages

From: H Hartley Sweeten
Date: Fri Aug 17 2012 - 21:16:50 EST


Remove the DPRINTK function trace messages. These should not be
in the final driver.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/staging/comedi/drivers/adv_pci1723.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/drivers/staging/comedi/drivers/adv_pci1723.c b/drivers/staging/comedi/drivers/adv_pci1723.c
index dfde0f6..3c4978a 100644
--- a/drivers/staging/comedi/drivers/adv_pci1723.c
+++ b/drivers/staging/comedi/drivers/adv_pci1723.c
@@ -168,7 +168,6 @@ struct pci1723_private {
static int pci1723_reset(struct comedi_device *dev)
{
int i;
- DPRINTK("adv_pci1723 EDBG: BGN: pci1723_reset(...)\n");

outw(0x01, dev->iobase + PCI1723_SYN_SET);
/* set synchronous output mode */
@@ -190,7 +189,6 @@ static int pci1723_reset(struct comedi_device *dev)
/* set asynchronous output mode */
outw(0, dev->iobase + PCI1723_SYN_SET);

- DPRINTK("adv_pci1723 EDBG: END: pci1723_reset(...)\n");
return 0;
}

@@ -201,7 +199,6 @@ static int pci1723_insn_read_ao(struct comedi_device *dev,
int n, chan;

chan = CR_CHAN(insn->chanspec);
- DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() -----\n");
for (n = 0; n < insn->n; n++)
data[n] = devpriv->ao_data[chan];

@@ -218,8 +215,6 @@ static int pci1723_ao_write_winsn(struct comedi_device *dev,
int n, chan;
chan = CR_CHAN(insn->chanspec);

- DPRINTK("PCI1723: the pci1723_ao_write_winsn() ------\n");
-
for (n = 0; n < insn->n; n++) {

devpriv->ao_data[chan] = data[n];
--
1.7.11

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/