staging: comedi: usbduxsigma: remove NOISY_DUX_DEBUGBUG
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:50:08 +0000 (12:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:50 +0000 (20:40 +0900)
This define enables a bunch of printk debug in send_dux_commands().
This is just noise used for development debuging. Remove it.

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

index 24bbda5b6fcc1ba89e061bffed540ff340f08e72..937bcd3f86bf496d37237cc05e51cbd1bc701269 100644 (file)
@@ -39,9 +39,6 @@ Status: testing
  *   0.6: corrected wrong input range
  */
 
-/* generates loads of debug info */
-/* #define NOISY_DUX_DEBUGBUG */
-
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/init.h>
@@ -736,13 +733,6 @@ static int send_dux_commands(struct usbduxsigma_private *this_usbduxsub,
        int result, nsent;
 
        this_usbduxsub->dux_commands[0] = cmd_type;
-#ifdef NOISY_DUX_DEBUGBUG
-       printk(KERN_DEBUG "comedi%d: usbdux: dux_commands: ",
-              this_usbduxsub->comedidev->minor);
-       for (result = 0; result < SIZEOFDUXBUFFER; result++)
-               printk(" %02x", this_usbduxsub->dux_commands[result]);
-       printk("\n");
-#endif
        result = usb_bulk_msg(this_usbduxsub->usbdev,
                              usb_sndbulkpipe(this_usbduxsub->usbdev,
                                              COMMAND_OUT_EP),