diff options
author | Robert Baldyga <r.baldyga@samsung.com> | 2015-09-15 15:48:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 19:44:52 +0300 |
commit | 620bb21448a2ec38d6c3f1e7d4868ac6e81fa68e (patch) | |
tree | 886fef6fc2bfa8548999c4132086b3c9f2adb148 /drivers/tty/serial/samsung.c | |
parent | e4678afeffa3c3c8020050448af2c226f6c49c56 (diff) | |
download | linux-620bb21448a2ec38d6c3f1e7d4868ac6e81fa68e.tar.xz |
serial: samsung: remove unneded 'ignore_char' label
This label does nothing special and we don't need to have it anymore.
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/samsung.c')
-rw-r--r-- | drivers/tty/serial/samsung.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index fee764ce90c7..dc4be5408853 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -676,7 +676,7 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id) dbg("break!\n"); port->icount.brk++; if (uart_handle_break(port)) - goto ignore_char; + continue; /* Ignore character */ } if (uerstat & S3C2410_UERSTAT_FRAME) @@ -696,13 +696,10 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id) } if (uart_handle_sysrq_char(port, ch)) - goto ignore_char; + continue; /* Ignore character */ uart_insert_char(port, uerstat, S3C2410_UERSTAT_OVERRUN, ch, flag); - -ignore_char: - continue; } spin_unlock_irqrestore(&port->lock, flags); |