浏览代码

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>
Greg Kroah-Hartman 13 年之前
父节点
当前提交
8cf38740e6
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      drivers/usb/serial/navman.c

+ 0 - 6
drivers/usb/serial/navman.c

@@ -84,8 +84,6 @@ static int navman_open(struct tty_struct *tty, struct usb_serial_port *port)
 {
 {
 	int result = 0;
 	int result = 0;
 
 
-	dbg("%s - port %d", __func__, port->number);
-
 	if (port->interrupt_in_urb) {
 	if (port->interrupt_in_urb) {
 		dbg("%s - adding interrupt input for treo", __func__);
 		dbg("%s - adding interrupt input for treo", __func__);
 		result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
 		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)
 
 
 static void navman_close(struct usb_serial_port *port)
 static void navman_close(struct usb_serial_port *port)
 {
 {
-	dbg("%s - port %d", __func__, port->number);
-
 	usb_kill_urb(port->interrupt_in_urb);
 	usb_kill_urb(port->interrupt_in_urb);
 }
 }
 
 
 static int navman_write(struct tty_struct *tty, struct usb_serial_port *port,
 static int navman_write(struct tty_struct *tty, struct usb_serial_port *port,
 			const unsigned char *buf, int count)
 			const unsigned char *buf, int count)
 {
 {
-	dbg("%s - port %d", __func__, port->number);
-
 	/*
 	/*
 	 * This device can't write any data, only read from the device
 	 * This device can't write any data, only read from the device
 	 */
 	 */