Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 303725
b: refs/heads/master
c: b978a5a
h: refs/heads/master
i:
  303723: c5b888c
v: v3
  • Loading branch information
Greg Kroah-Hartman committed May 3, 2012
1 parent 4ce1ecf commit 4e7f393
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2ec7d459c0b557d7f09d57261052601710479054
refs/heads/master: b978a5a11b6e1b65cebe2bb8aaff8abe2e29fca7
11 changes: 0 additions & 11 deletions trunk/drivers/usb/serial/cp210x.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,6 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)
{
int result;

dbg("%s - port %d", __func__, port->number);

result = cp210x_set_config_single(port, CP210X_IFC_ENABLE,
UART_ENABLE);
if (result) {
Expand All @@ -445,8 +443,6 @@ static int cp210x_open(struct tty_struct *tty, struct usb_serial_port *port)

static void cp210x_close(struct usb_serial_port *port)
{
dbg("%s - port %d", __func__, port->number);

usb_serial_generic_close(port);

mutex_lock(&port->serial->disc_mutex);
Expand Down Expand Up @@ -490,8 +486,6 @@ static void cp210x_get_termios_port(struct usb_serial_port *port,
unsigned int baud;
unsigned int bits;

dbg("%s - port %d", __func__, port->number);

cp210x_get_config(port, CP210X_GET_BAUDRATE, &baud, 4);

dbg("%s - baud rate = %d", __func__, baud);
Expand Down Expand Up @@ -789,8 +783,6 @@ static int cp210x_tiocmset_port(struct usb_serial_port *port,
{
unsigned int control = 0;

dbg("%s - port %d", __func__, port->number);

if (set & TIOCM_RTS) {
control |= CONTROL_RTS;
control |= CONTROL_WRITE_RTS;
Expand Down Expand Up @@ -827,8 +819,6 @@ static int cp210x_tiocmget (struct tty_struct *tty)
unsigned int control;
int result;

dbg("%s - port %d", __func__, port->number);

cp210x_get_config(port, CP210X_GET_MDMSTS, &control, 1);

result = ((control & CONTROL_DTR) ? TIOCM_DTR : 0)
Expand All @@ -848,7 +838,6 @@ static void cp210x_break_ctl (struct tty_struct *tty, int break_state)
struct usb_serial_port *port = tty->driver_data;
unsigned int state;

dbg("%s - port %d", __func__, port->number);
if (break_state == 0)
state = BREAK_OFF;
else
Expand Down

0 comments on commit 4e7f393

Please sign in to comment.