Commit 005331f4 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: ezusb.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.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4e512ab9
...@@ -26,7 +26,6 @@ int ezusb_writememory(struct usb_serial *serial, int address, ...@@ -26,7 +26,6 @@ int ezusb_writememory(struct usb_serial *serial, int address,
int result; int result;
unsigned char *transfer_buffer; unsigned char *transfer_buffer;
/* dbg("ezusb_writememory %x, %d", address, length); */
if (!serial->dev) { if (!serial->dev) {
printk(KERN_ERR "ezusb: %s - no physical device present, " printk(KERN_ERR "ezusb: %s - no physical device present, "
"failing.\n", __func__); "failing.\n", __func__);
...@@ -50,7 +49,6 @@ int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit) ...@@ -50,7 +49,6 @@ int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit)
{ {
int response; int response;
/* dbg("%s - %d", __func__, reset_bit); */
response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0); response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0);
if (response < 0) if (response < 0)
dev_err(&serial->dev->dev, "%s- %d failed\n", dev_err(&serial->dev->dev, "%s- %d failed\n",
......
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