USB: ipaq.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:15 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:15 +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: Rusty Russell <rusty@rustcorp.com.au>
CC: Johan Hovold <jhovold@gmail.com>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ipaq.c

index 61e200ffe6b4be40e4a978995acd609d321fb8e7..65b689a4e36f1bf4410282d8d6728c1c5d59f280 100644 (file)
@@ -536,8 +536,6 @@ static int ipaq_open(struct tty_struct *tty,
        int                     result = 0;
        int                     retries = connect_retries;
 
-       dbg("%s - port %d", __func__, port->number);
-
        msleep(1000*initial_wait);
 
        /*
@@ -593,8 +591,6 @@ static int ipaq_calc_num_ports(struct usb_serial *serial)
 
 static int ipaq_startup(struct usb_serial *serial)
 {
-       dbg("%s", __func__);
-
        /* Some of the devices in ipaq_id_table[] are composite, and we
         * shouldn't bind to all the interfaces.  This test will rule out
         * some obviously invalid possibilities.