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>
This commit is contained in:
parent
4e512ab935
commit
005331f4c4
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
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",
|
||||||
|
|
Loading…
Add table
Reference in a new issue