Skip to content

Commit

Permalink
staging: comedi: cb_das16_cs: remove some commented out debug
Browse files Browse the repository at this point in the history
The das16cs_ao_winsn() function has a couple commented out
debug messages. Just remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jun 26, 2012
1 parent 443bbed commit aebdf3b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/staging/comedi/drivers/cb_das16_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit aebdf3b

Please sign in to comment.