]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
USB: f81232.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:07 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:07 +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/f81232.c

index 88c0b1963920333e4f84b35d7ab0f0d493447c22..46aee85210e217a4db2fd6dc875d431fd5e227ad 100644 (file)
@@ -68,8 +68,6 @@ static void f81232_read_int_callback(struct urb *urb)
        int status = urb->status;
        int retval;
 
-       dbg("%s (%d)", __func__, port->number);
-
        switch (status) {
        case 0:
                /* success */
@@ -203,7 +201,6 @@ static int f81232_open(struct tty_struct *tty, struct usb_serial_port *port)
        if (tty)
                f81232_set_termios(tty, port, &tmp_termios);
 
-       dbg("%s - submitting interrupt urb", __func__);
        result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
        if (result) {
                dev_err(&port->dev, "%s - failed submitting interrupt urb,"