Commit 620bb214 authored by Robert Baldyga's avatar Robert Baldyga Committed by Greg Kroah-Hartman

serial: samsung: remove unneded 'ignore_char' label

This label does nothing special and we don't need to have it anymore.
Signed-off-by: default avatarRobert Baldyga <r.baldyga@samsung.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e4678afe
...@@ -676,7 +676,7 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id) ...@@ -676,7 +676,7 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id)
dbg("break!\n"); dbg("break!\n");
port->icount.brk++; port->icount.brk++;
if (uart_handle_break(port)) if (uart_handle_break(port))
goto ignore_char; continue; /* Ignore character */
} }
if (uerstat & S3C2410_UERSTAT_FRAME) if (uerstat & S3C2410_UERSTAT_FRAME)
...@@ -696,13 +696,10 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id) ...@@ -696,13 +696,10 @@ static irqreturn_t s3c24xx_serial_rx_chars_pio(void *dev_id)
} }
if (uart_handle_sysrq_char(port, ch)) if (uart_handle_sysrq_char(port, ch))
goto ignore_char; continue; /* Ignore character */
uart_insert_char(port, uerstat, S3C2410_UERSTAT_OVERRUN, uart_insert_char(port, uerstat, S3C2410_UERSTAT_OVERRUN,
ch, flag); ch, flag);
ignore_char:
continue;
} }
spin_unlock_irqrestore(&port->lock, flags); spin_unlock_irqrestore(&port->lock, flags);
......
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