staging: comedi: pcmmio: remove DAMMIT_ITS_BROKEN debug
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 26 Nov 2013 17:21:23 +0000 (10:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Nov 2013 17:55:15 +0000 (09:55 -0800)
These debug messages are just added noise. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmmio.c

index 14cee3ac92c52f67fadd05b4b3cec4d92efaec7a..1ebc9d2df67ddf276d1633296cd1f897de3280fe 100644 (file)
@@ -250,11 +250,6 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
        /* The insn data is a mask in data[0] and the new data
         * in data[1], each channel cooresponding to a bit. */
 
-#ifdef DAMMIT_ITS_BROKEN
-       /* DEBUG */
-       printk(KERN_DEBUG "write mask: %08x  data: %08x\n", data[0], data[1]);
-#endif
-
        s->state = 0;
 
        for (byte_no = 0; byte_no < s->n_chan / CHANS_PER_PORT; ++byte_no) {
@@ -271,14 +266,6 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
 
                byte = inb(ioaddr);     /* read all 8-bits for this port */
 
-#ifdef DAMMIT_ITS_BROKEN
-               /* DEBUG */
-               printk
-                   (KERN_DEBUG "byte %d wmb %02x db %02x offset %02d io %04x,"
-                    " data_in %02x ", byte_no, (unsigned)write_mask_byte,
-                    (unsigned)data_byte, offset, ioaddr, (unsigned)byte);
-#endif
-
                if (write_mask_byte) {
                        /*
                         * this byte has some write_bits
@@ -291,10 +278,6 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
                        /* Write out the new digital output state */
                        outb(byte, ioaddr);
                }
-#ifdef DAMMIT_ITS_BROKEN
-               /* DEBUG */
-               printk(KERN_DEBUG "data_out_byte %02x\n", (unsigned)byte);
-#endif
                /* save the digital input lines for this byte.. */
                s->state |= ((unsigned int)byte) << offset;
        }
@@ -302,11 +285,6 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
        /* now return the DIO lines to data[1] - note they came inverted! */
        data[1] = ~s->state;
 
-#ifdef DAMMIT_ITS_BROKEN
-       /* DEBUG */
-       printk(KERN_DEBUG "s->state %08x data_out %08x\n", s->state, data[1]);
-#endif
-
        return insn->n;
 }