Skip to content

Commit

Permalink
USB: ipaq.c: remove dbg() tracing calls
Browse files Browse the repository at this point in the history
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: Rusty Russell <rusty@rustcorp.com.au>
CC: Johan Hovold <jhovold@gmail.com>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent de5789e commit ef2b895
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/usb/serial/ipaq.c
Original file line number Diff line number Diff line change
Expand Up @@ -536,8 +536,6 @@ static int ipaq_open(struct tty_struct *tty,
int result = 0;
int retries = connect_retries;

dbg("%s - port %d", __func__, port->number);

msleep(1000*initial_wait);

/*
Expand Down Expand Up @@ -593,8 +591,6 @@ static int ipaq_calc_num_ports(struct usb_serial *serial)

static int ipaq_startup(struct usb_serial *serial)
{
dbg("%s", __func__);

/* Some of the devices in ipaq_id_table[] are composite, and we
* shouldn't bind to all the interfaces. This test will rule out
* some obviously invalid possibilities.
Expand Down

0 comments on commit ef2b895

Please sign in to comment.