diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-03 19:44:02 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-03 19:44:02 -0400 |
commit | 005331f4c4345ed714dc9e35b861f6866394da5d (patch) | |
tree | ee07003a362bd46a7ad37cc3b429e23d594a3b4d /drivers/usb/serial | |
parent | 4e512ab935e4e3cecfba57710a3beb24fe6a2f81 (diff) |
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r-- | drivers/usb/serial/ezusb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/ezusb.c b/drivers/usb/serial/ezusb.c index 3cfc762f5056..800e8eb60003 100644 --- a/drivers/usb/serial/ezusb.c +++ b/drivers/usb/serial/ezusb.c | |||
@@ -26,7 +26,6 @@ int ezusb_writememory(struct usb_serial *serial, int address, | |||
26 | int result; | 26 | int result; |
27 | unsigned char *transfer_buffer; | 27 | unsigned char *transfer_buffer; |
28 | 28 | ||
29 | /* dbg("ezusb_writememory %x, %d", address, length); */ | ||
30 | if (!serial->dev) { | 29 | if (!serial->dev) { |
31 | printk(KERN_ERR "ezusb: %s - no physical device present, " | 30 | printk(KERN_ERR "ezusb: %s - no physical device present, " |
32 | "failing.\n", __func__); | 31 | "failing.\n", __func__); |
@@ -50,7 +49,6 @@ int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit) | |||
50 | { | 49 | { |
51 | int response; | 50 | int response; |
52 | 51 | ||
53 | /* dbg("%s - %d", __func__, reset_bit); */ | ||
54 | response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0); | 52 | response = ezusb_writememory(serial, CPUCS_REG, &reset_bit, 1, 0xa0); |
55 | if (response < 0) | 53 | if (response < 0) |
56 | dev_err(&serial->dev->dev, "%s- %d failed\n", | 54 | dev_err(&serial->dev->dev, "%s- %d failed\n", |