]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
USB: ezusb.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:02 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:02 +0000 (16:44 -0700)
dbg() was used a lot a long time ago to trace code flow.  Now that we have
ftrace, this isn't needed at all, so remove these calls.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ezusb.c

index 3cfc762f50563a1aad5e0e24185a0a73891abb16..800e8eb600039b61b6b845af559fcf165bd78977 100644 (file)
@@ -26,7 +26,6 @@ int ezusb_writememory(struct usb_serial *serial, int address,
        int result;
        unsigned char *transfer_buffer;
 
-       /* dbg("ezusb_writememory %x, %d", address, length); */
        if (!serial->dev) {
                printk(KERN_ERR "ezusb: %s - no physical device present, "
                       "failing.\n", __func__);
@@ -50,7 +49,6 @@ int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit)
 {
        int response;
 
-       /* dbg("%s - %d", __func__, reset_bit); */
        response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0);
        if (response < 0)
                dev_err(&serial->dev->dev, "%s- %d failed\n",