Skip to content

Commit

Permalink
[ARM] 3624/1: Report true modem control line states
Browse files Browse the repository at this point in the history
Patch from Uli Luckas

This patch removes the fake return from serial_pxa_get_mctrl.

Signed-off-by: Uli Luckas <u.luckas@road-gmbh.de>
I just can't remember why this return was there.
Being in the first column clearly indicates it was meant to be removed.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Uli Luckas authored and Russell King committed Jun 22, 2006
1 parent 8b76a68 commit 005b5e4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/serial/pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,6 @@ static unsigned int serial_pxa_get_mctrl(struct uart_port *port)
unsigned char status;
unsigned int ret;

return TIOCM_CTS | TIOCM_DSR | TIOCM_CAR;
status = serial_in(up, UART_MSR);

ret = 0;
Expand Down

0 comments on commit 005b5e4

Please sign in to comment.