Commit ab57f861 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman

cdc-acm: delete obsolete debug messages

Some debug messages merely provide a function trace without
additional debug data. They predate ftrace and can be replaced
by it. Drop them without replacement.
Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ce8bb344
...@@ -492,8 +492,6 @@ static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty) ...@@ -492,8 +492,6 @@ static int acm_tty_install(struct tty_driver *driver, struct tty_struct *tty)
struct acm *acm; struct acm *acm;
int retval; int retval;
dev_dbg(tty->dev, "%s\n", __func__);
acm = acm_get_by_minor(tty->index); acm = acm_get_by_minor(tty->index);
if (!acm) if (!acm)
return -ENODEV; return -ENODEV;
...@@ -515,8 +513,6 @@ static int acm_tty_open(struct tty_struct *tty, struct file *filp) ...@@ -515,8 +513,6 @@ static int acm_tty_open(struct tty_struct *tty, struct file *filp)
{ {
struct acm *acm = tty->driver_data; struct acm *acm = tty->driver_data;
dev_dbg(tty->dev, "%s\n", __func__);
return tty_port_open(&acm->port, tty, filp); return tty_port_open(&acm->port, tty, filp);
} }
...@@ -545,8 +541,6 @@ static int acm_port_activate(struct tty_port *port, struct tty_struct *tty) ...@@ -545,8 +541,6 @@ static int acm_port_activate(struct tty_port *port, struct tty_struct *tty)
int retval = -ENODEV; int retval = -ENODEV;
int i; int i;
dev_dbg(&acm->control->dev, "%s\n", __func__);
mutex_lock(&acm->mutex); mutex_lock(&acm->mutex);
if (acm->disconnected) if (acm->disconnected)
goto disconnected; goto disconnected;
...@@ -607,8 +601,6 @@ static void acm_port_destruct(struct tty_port *port) ...@@ -607,8 +601,6 @@ static void acm_port_destruct(struct tty_port *port)
{ {
struct acm *acm = container_of(port, struct acm, port); struct acm *acm = container_of(port, struct acm, port);
dev_dbg(&acm->control->dev, "%s\n", __func__);
acm_release_minor(acm); acm_release_minor(acm);
usb_put_intf(acm->control); usb_put_intf(acm->control);
kfree(acm->country_codes); kfree(acm->country_codes);
...@@ -622,8 +614,6 @@ static void acm_port_shutdown(struct tty_port *port) ...@@ -622,8 +614,6 @@ static void acm_port_shutdown(struct tty_port *port)
struct acm_wb *wb; struct acm_wb *wb;
int i; int i;
dev_dbg(&acm->control->dev, "%s\n", __func__);
/* /*
* Need to grab write_lock to prevent race with resume, but no need to * Need to grab write_lock to prevent race with resume, but no need to
* hold it due to the tty-port initialised flag. * hold it due to the tty-port initialised flag.
...@@ -654,21 +644,21 @@ static void acm_port_shutdown(struct tty_port *port) ...@@ -654,21 +644,21 @@ static void acm_port_shutdown(struct tty_port *port)
static void acm_tty_cleanup(struct tty_struct *tty) static void acm_tty_cleanup(struct tty_struct *tty)
{ {
struct acm *acm = tty->driver_data; struct acm *acm = tty->driver_data;
dev_dbg(&acm->control->dev, "%s\n", __func__);
tty_port_put(&acm->port); tty_port_put(&acm->port);
} }
static void acm_tty_hangup(struct tty_struct *tty) static void acm_tty_hangup(struct tty_struct *tty)
{ {
struct acm *acm = tty->driver_data; struct acm *acm = tty->driver_data;
dev_dbg(&acm->control->dev, "%s\n", __func__);
tty_port_hangup(&acm->port); tty_port_hangup(&acm->port);
} }
static void acm_tty_close(struct tty_struct *tty, struct file *filp) static void acm_tty_close(struct tty_struct *tty, struct file *filp)
{ {
struct acm *acm = tty->driver_data; struct acm *acm = tty->driver_data;
dev_dbg(&acm->control->dev, "%s\n", __func__);
tty_port_close(&acm->port, tty, filp); tty_port_close(&acm->port, tty, filp);
} }
...@@ -1533,8 +1523,6 @@ static void stop_data_traffic(struct acm *acm) ...@@ -1533,8 +1523,6 @@ static void stop_data_traffic(struct acm *acm)
{ {
int i; int i;
dev_dbg(&acm->control->dev, "%s\n", __func__);
usb_kill_urb(acm->ctrlurb); usb_kill_urb(acm->ctrlurb);
for (i = 0; i < ACM_NW; i++) for (i = 0; i < ACM_NW; i++)
usb_kill_urb(acm->wb[i].urb); usb_kill_urb(acm->wb[i].urb);
...@@ -1551,8 +1539,6 @@ static void acm_disconnect(struct usb_interface *intf) ...@@ -1551,8 +1539,6 @@ static void acm_disconnect(struct usb_interface *intf)
struct tty_struct *tty; struct tty_struct *tty;
int i; int i;
dev_dbg(&intf->dev, "%s\n", __func__);
/* sibling interface is already cleaning up */ /* sibling interface is already cleaning up */
if (!acm) if (!acm)
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment