]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
USB: option.c: remove dbg() tracing calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:41 +0000 (16:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2012 23:44:41 +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: Matthias Urlichs <smurf@smurf.noris.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c

index 9ea5f4b3975718c0bb7cdf688bb75a52775bf0f4..ae0b4aa9aa597b672f6529d419191526711cdb98 100644 (file)
@@ -1375,7 +1375,6 @@ static void option_instat_callback(struct urb *urb)
        struct usb_serial_port *port =  urb->context;
        struct option_port_private *portdata = usb_get_serial_port_data(port);
 
-       dbg("%s", __func__);
        dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata);
 
        if (status == 0) {
@@ -1437,7 +1436,6 @@ static int option_send_setup(struct usb_serial_port *port)
        struct option_port_private *portdata;
        int ifNum = serial->interface->cur_altsetting->desc.bInterfaceNumber;
        int val = 0;
-       dbg("%s", __func__);
 
        if (is_blacklisted(ifNum, OPTION_BLACKLIST_SENDSETUP,
                        (struct option_blacklist_info *) intfdata->private)) {