]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
USB: kobil_sct.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:26 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:26 +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.

CC: Johan Hovold <jhovold@gmail.com>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/kobil_sct.c

index 4a9a75eb9b95aa29c48e97adf6b26060c44cf22d..7336e0ecc20fd1b3beb2022cbb4b97e59980b46a 100644 (file)
@@ -193,7 +193,6 @@ static int kobil_startup(struct usb_serial *serial)
 static void kobil_release(struct usb_serial *serial)
 {
        int i;
-       dbg("%s - port %d", __func__, serial->port[0]->number);
 
        for (i = 0; i < serial->num_ports; ++i)
                kfree(usb_get_serial_port_data(serial->port[i]));
@@ -217,7 +216,6 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)
        int transfer_buffer_length = 8;
        int write_urb_transfer_buffer_length = 8;
 
-       dbg("%s - port %d", __func__, port->number);
        priv = usb_get_serial_port_data(port);
 
        /* allocate memory for transfer buffer */
@@ -327,8 +325,6 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)
 
 static void kobil_close(struct usb_serial_port *port)
 {
-       dbg("%s - port %d", __func__, port->number);
-
        /* FIXME: Add rts/dtr methods */
        if (port->write_urb) {
                usb_poison_urb(port->write_urb);
@@ -349,8 +345,6 @@ static void kobil_read_int_callback(struct urb *urb)
        int status = urb->status;
 /*     char *dbg_data; */
 
-       dbg("%s - port %d", __func__, port->number);
-
        if (status) {
                dbg("%s - port %d Read int status not zero: %d",
                    __func__, port->number, status);
@@ -474,7 +468,6 @@ static int kobil_write(struct tty_struct *tty, struct usb_serial_port *port,
 
 static int kobil_write_room(struct tty_struct *tty)
 {
-       /* dbg("%s - port %d", __func__, port->number); */
        /* FIXME */
        return 8;
 }