aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-03 19:44:38 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-03 19:44:38 -0400
commit69d1d34a9bbadff9227ba94a4b3acca0c760880a (patch)
treef716e1db439f804bb3e7cf7642f25dc4dc802b23 /drivers/usb
parent8cf38740e6b5affb9f914b829f466eb7104d2c67 (diff)
USB: omninet.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: Johan Hovold <jhovold@gmail.com> 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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/omninet.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c
index 88dc785bb298..1b6d53f4c610 100644
--- a/drivers/usb/serial/omninet.c
+++ b/drivers/usb/serial/omninet.c
@@ -144,8 +144,6 @@ static int omninet_open(struct tty_struct *tty, struct usb_serial_port *port)
144 struct usb_serial_port *wport; 144 struct usb_serial_port *wport;
145 int result = 0; 145 int result = 0;
146 146
147 dbg("%s - port %d", __func__, port->number);
148
149 wport = serial->port[1]; 147 wport = serial->port[1];
150 tty_port_tty_set(&wport->port, tty); 148 tty_port_tty_set(&wport->port, tty);
151 149
@@ -160,7 +158,6 @@ static int omninet_open(struct tty_struct *tty, struct usb_serial_port *port)
160 158
161static void omninet_close(struct usb_serial_port *port) 159static void omninet_close(struct usb_serial_port *port)
162{ 160{
163 dbg("%s - port %d", __func__, port->number);
164 usb_kill_urb(port->read_urb); 161 usb_kill_urb(port->read_urb);
165} 162}
166 163
@@ -178,8 +175,6 @@ static void omninet_read_bulk_callback(struct urb *urb)
178 int result; 175 int result;
179 int i; 176 int i;
180 177
181 dbg("%s - port %d", __func__, port->number);
182
183 if (status) { 178 if (status) {
184 dbg("%s - nonzero read bulk status received: %d", 179 dbg("%s - nonzero read bulk status received: %d",
185 __func__, status); 180 __func__, status);
@@ -225,8 +220,6 @@ static int omninet_write(struct tty_struct *tty, struct usb_serial_port *port,
225 220
226 int result; 221 int result;
227 222
228 dbg("%s - port %d", __func__, port->number);
229
230 if (count == 0) { 223 if (count == 0) {
231 dbg("%s - write request of 0 bytes", __func__); 224 dbg("%s - write request of 0 bytes", __func__);
232 return 0; 225 return 0;
@@ -289,8 +282,6 @@ static void omninet_write_bulk_callback(struct urb *urb)
289 struct usb_serial_port *port = urb->context; 282 struct usb_serial_port *port = urb->context;
290 int status = urb->status; 283 int status = urb->status;
291 284
292 dbg("%s - port %0x", __func__, port->number);
293
294 set_bit(0, &port->write_urbs_free); 285 set_bit(0, &port->write_urbs_free);
295 if (status) { 286 if (status) {
296 dbg("%s - nonzero write bulk status received: %d", 287 dbg("%s - nonzero write bulk status received: %d",
@@ -306,8 +297,6 @@ static void omninet_disconnect(struct usb_serial *serial)
306{ 297{
307 struct usb_serial_port *wport = serial->port[1]; 298 struct usb_serial_port *wport = serial->port[1];
308 299
309 dbg("%s", __func__);
310
311 usb_kill_urb(wport->write_urb); 300 usb_kill_urb(wport->write_urb);
312} 301}
313 302
@@ -316,8 +305,6 @@ static void omninet_release(struct usb_serial *serial)
316{ 305{
317 struct usb_serial_port *port = serial->port[0]; 306 struct usb_serial_port *port = serial->port[0];
318 307
319 dbg("%s", __func__);
320
321 kfree(usb_get_serial_port_data(port)); 308 kfree(usb_get_serial_port_data(port));
322} 309}
323 310