staging: comedi: ni_pcidio: remove DEBUG define
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 22 Nov 2013 17:44:58 +0000 (10:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2013 19:50:53 +0000 (11:50 -0800)
This define is only used to enable some debug messages during the
board attach. These are just added noise, remove them as well as
the DEBUG define.

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/ni_atmio.c

index 856c73d8b7cd3a6accb460421e236f001a28e032..d03935257b974e4fe480f10f13e5f3dd59a0e600 100644 (file)
@@ -98,8 +98,6 @@ are not supported.
 #include "ni_stc.h"
 #include "8255.h"
 
-#undef DEBUG
-
 #define ATMIO 1
 #undef PCIMIO
 
@@ -437,19 +435,6 @@ static int ni_atmio_attach(struct comedi_device *dev,
        if (ret)
                return ret;
 
-#ifdef DEBUG
-       /* board existence sanity check */
-       {
-               int i;
-
-               printk(" board fingerprint:");
-               for (i = 0; i < 16; i += 2) {
-                       printk(" %04x %02x", inw(dev->iobase + i),
-                              inb(dev->iobase + i + 1));
-               }
-       }
-#endif
-
        /* get board type */
 
        board = ni_getboardtype(dev);