forked from Minki/linux
USB: serial: core: remove some trace debugging calls
These dbg() calls were no more than just a function trace, so remove them. If you want to see the functions being called, use the in-kernel function trace code instead, it's much nicer. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c2d57aec81
commit
fee84a54e7
@ -68,8 +68,6 @@ static int usb_console_setup(struct console *co, char *options)
|
|||||||
struct tty_struct *tty = NULL;
|
struct tty_struct *tty = NULL;
|
||||||
struct ktermios dummy;
|
struct ktermios dummy;
|
||||||
|
|
||||||
dbg("%s", __func__);
|
|
||||||
|
|
||||||
if (options) {
|
if (options) {
|
||||||
baud = simple_strtoul(options, NULL, 10);
|
baud = simple_strtoul(options, NULL, 10);
|
||||||
s = options;
|
s = options;
|
||||||
|
@ -123,8 +123,6 @@ static void return_serial(struct usb_serial *serial)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
dbg("%s", __func__);
|
|
||||||
|
|
||||||
mutex_lock(&table_lock);
|
mutex_lock(&table_lock);
|
||||||
for (i = 0; i < serial->num_ports; ++i)
|
for (i = 0; i < serial->num_ports; ++i)
|
||||||
serial_table[serial->minor + i] = NULL;
|
serial_table[serial->minor + i] = NULL;
|
||||||
@ -191,8 +189,6 @@ static int serial_install(struct tty_driver *driver, struct tty_struct *tty)
|
|||||||
struct usb_serial_port *port;
|
struct usb_serial_port *port;
|
||||||
int retval = -ENODEV;
|
int retval = -ENODEV;
|
||||||
|
|
||||||
dbg("%s", __func__);
|
|
||||||
|
|
||||||
serial = usb_serial_get_by_index(idx);
|
serial = usb_serial_get_by_index(idx);
|
||||||
if (!serial)
|
if (!serial)
|
||||||
return retval;
|
return retval;
|
||||||
@ -445,7 +441,6 @@ static int serial_proc_show(struct seq_file *m, void *v)
|
|||||||
int i;
|
int i;
|
||||||
char tmp[40];
|
char tmp[40];
|
||||||
|
|
||||||
dbg("%s", __func__);
|
|
||||||
seq_puts(m, "usbserinfo:1.0 driver:2.0\n");
|
seq_puts(m, "usbserinfo:1.0 driver:2.0\n");
|
||||||
for (i = 0; i < SERIAL_TTY_MINORS; ++i) {
|
for (i = 0; i < SERIAL_TTY_MINORS; ++i) {
|
||||||
serial = usb_serial_get_by_index(i);
|
serial = usb_serial_get_by_index(i);
|
||||||
@ -1100,7 +1095,6 @@ static void usb_serial_disconnect(struct usb_interface *interface)
|
|||||||
struct usb_serial_port *port;
|
struct usb_serial_port *port;
|
||||||
|
|
||||||
usb_serial_console_disconnect(serial);
|
usb_serial_console_disconnect(serial);
|
||||||
dbg("%s", __func__);
|
|
||||||
|
|
||||||
mutex_lock(&serial->disc_mutex);
|
mutex_lock(&serial->disc_mutex);
|
||||||
/* must set a flag, to signal subdrivers */
|
/* must set a flag, to signal subdrivers */
|
||||||
|
Loading…
Reference in New Issue
Block a user