diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-03 19:44:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-03 19:44:35 -0400 |
commit | 8cf38740e6b5affb9f914b829f466eb7104d2c67 (patch) | |
tree | 216110161c3b74ba8d51b6bf078220ced23f61b4 | |
parent | 3363155b66c8d223845b928f87bc8aa482e5f91d (diff) |
USB: navman.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: Rusty Russell <rusty@rustcorp.com.au>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/usb/serial/navman.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/navman.c b/drivers/usb/serial/navman.c index 29ab6eb5b536..31de00aeb24e 100644 --- a/drivers/usb/serial/navman.c +++ b/drivers/usb/serial/navman.c | |||
@@ -84,8 +84,6 @@ static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
84 | { | 84 | { |
85 | int result = 0; | 85 | int result = 0; |
86 | 86 | ||
87 | dbg("%s - port %d", __func__, port->number); | ||
88 | |||
89 | if (port->interrupt_in_urb) { | 87 | if (port->interrupt_in_urb) { |
90 | dbg("%s - adding interrupt input for treo", __func__); | 88 | dbg("%s - adding interrupt input for treo", __func__); |
91 | result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); | 89 | result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); |
@@ -99,16 +97,12 @@ static int navman_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
99 | 97 | ||
100 | static void navman_close(struct usb_serial_port *port) | 98 | static void navman_close(struct usb_serial_port *port) |
101 | { | 99 | { |
102 | dbg("%s - port %d", __func__, port->number); | ||
103 | |||
104 | usb_kill_urb(port->interrupt_in_urb); | 100 | usb_kill_urb(port->interrupt_in_urb); |
105 | } | 101 | } |
106 | 102 | ||
107 | static int navman_write(struct tty_struct *tty, struct usb_serial_port *port, | 103 | static int navman_write(struct tty_struct *tty, struct usb_serial_port *port, |
108 | const unsigned char *buf, int count) | 104 | const unsigned char *buf, int count) |
109 | { | 105 | { |
110 | dbg("%s - port %d", __func__, port->number); | ||
111 | |||
112 | /* | 106 | /* |
113 | * This device can't write any data, only read from the device | 107 | * This device can't write any data, only read from the device |
114 | */ | 108 | */ |