USB: qcserial.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:46 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:46 +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: Thomas Tuttle <ttuttle@chromium.org>
CC: Paul Gortmaker <paul.gortmaker@windriver.com>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Rigbert Hamisch <rigbert@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/qcserial.c

index 0206b10c9e6e174506b9b05431ee2a3519549025..201f2810d50371e86c938a9055cd9d206acb0369 100644 (file)
@@ -131,7 +131,6 @@ static int qcprobe(struct usb_serial *serial, const struct usb_device_id *id)
        __u8 ifnum;
        bool is_gobi1k = id->driver_info ? true : false;
 
-       dbg("%s", __func__);
        dbg("Is Gobi 1000 = %d", is_gobi1k);
 
        nintf = serial->dev->actconfig->desc.bNumInterfaces;
@@ -250,8 +249,6 @@ static void qc_release(struct usb_serial *serial)
 {
        struct usb_wwan_intf_private *priv = usb_get_serial_data(serial);
 
-       dbg("%s", __func__);
-
        /* Call usb_wwan release & free the private data allocated in qcprobe */
        usb_wwan_release(serial);
        usb_set_serial_data(serial, NULL);