Commit e79a8a4b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: option.c: remove dbg() tracing calls

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 815fd569
...@@ -1375,7 +1375,6 @@ static void option_instat_callback(struct urb *urb) ...@@ -1375,7 +1375,6 @@ static void option_instat_callback(struct urb *urb)
struct usb_serial_port *port = urb->context; struct usb_serial_port *port = urb->context;
struct option_port_private *portdata = usb_get_serial_port_data(port); 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); dbg("%s: urb %p port %p has data %p", __func__, urb, port, portdata);
if (status == 0) { if (status == 0) {
...@@ -1437,7 +1436,6 @@ static int option_send_setup(struct usb_serial_port *port) ...@@ -1437,7 +1436,6 @@ static int option_send_setup(struct usb_serial_port *port)
struct option_port_private *portdata; struct option_port_private *portdata;
int ifNum = serial->interface->cur_altsetting->desc.bInterfaceNumber; int ifNum = serial->interface->cur_altsetting->desc.bInterfaceNumber;
int val = 0; int val = 0;
dbg("%s", __func__);
if (is_blacklisted(ifNum, OPTION_BLACKLIST_SENDSETUP, if (is_blacklisted(ifNum, OPTION_BLACKLIST_SENDSETUP,
(struct option_blacklist_info *) intfdata->private)) { (struct option_blacklist_info *) intfdata->private)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment