2012-06-26 00:23:21

by Hartley Sweeten

[permalink] [raw]
Subject: [PATCH 32/33] staging: comedi: cb_das16_cs: remove some commented out debug

The das16cs_ao_winsn() function has a couple commented out
debug messages. Just remove them.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Cc: Frank Mori Hess <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
---
drivers/staging/comedi/drivers/cb_das16_cs.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c b/drivers/staging/comedi/drivers/cb_das16_cs.c
index 0d303d1..791bf11 100644
--- a/drivers/staging/comedi/drivers/cb_das16_cs.c
+++ b/drivers/staging/comedi/drivers/cb_das16_cs.c
@@ -341,17 +341,14 @@ static int das16cs_ao_winsn(struct comedi_device *dev,
else
status1 |= 0x0008;

-/* printk("0x%04x\n",status1);*/
outw(status1, dev->iobase + DAS16CS_MISC1);
udelay(1);

for (bit = 15; bit >= 0; bit--) {
int b = (d >> bit) & 0x1;
b <<= 1;
-/* printk("0x%04x\n",status1 | b | 0x0000);*/
outw(status1 | b | 0x0000, dev->iobase + DAS16CS_MISC1);
udelay(1);
-/* printk("0x%04x\n",status1 | b | 0x0004);*/
outw(status1 | b | 0x0004, dev->iobase + DAS16CS_MISC1);
udelay(1);
}
--
1.7.11