Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220654

[PATCH 2/3] serial: samsung: remove unneded 'ignore_char' label

From Robert Baldyga <r.baldyga@samsung.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] serial: samsung: remove unneded 'ignore_char' label
Date 2015-09-08 11:50 +0200
Message-ID <q6nHj-tV-9@gated-at.bofh.it> (permalink)
References <q6nxE-ij-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This label does nothing special and we don't need to have it anymore.

Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
---
 drivers/tty/serial/samsung.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index fee764c..2b05194 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;
 			}
 
 			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;
 
 		uart_insert_char(port, uerstat, S3C2410_UERSTAT_OVERRUN,
 				 ch, flag);
-
-ignore_char:
-		continue;
 	}
 
 	spin_unlock_irqrestore(&port->lock, flags);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] serial: samsung: Fix UART status handling and other fixes Robert Baldyga <r.baldyga@samsung.com> - 2015-09-08 11:40 +0200
  [PATCH 1/3] serial: samsung: remove unused 'irq' parameter Robert Baldyga <r.baldyga@samsung.com> - 2015-09-08 11:40 +0200
    Re: [PATCH 1/3] serial: samsung: remove unused 'irq' parameter Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-10 02:30 +0200
  [PATCH 3/3] serial: samsung: Fix UART status handling in DMA mode Robert Baldyga <r.baldyga@samsung.com> - 2015-09-08 11:40 +0200
    Re: [PATCH 3/3] serial: samsung: Fix UART status handling in DMA mode Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-10 02:50 +0200
      Re: [PATCH 3/3] serial: samsung: Fix UART status handling in DMA mode Robert Baldyga <r.baldyga@samsung.com> - 2015-09-10 12:50 +0200
  [PATCH 2/3] serial: samsung: remove unneded 'ignore_char' label Robert Baldyga <r.baldyga@samsung.com> - 2015-09-08 11:50 +0200
    Re: [PATCH 2/3] serial: samsung: remove unneded 'ignore_char' label Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-10 02:30 +0200
      Re: [PATCH 2/3] serial: samsung: remove unneded 'ignore_char' label Robert Baldyga <r.baldyga@samsung.com> - 2015-09-10 12:40 +0200
  Re: [PATCH 0/3] serial: samsung: Fix UART status handling and other  fixes Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-09 01:50 +0200
    Re: [PATCH 0/3] serial: samsung: Fix UART status handling and other  fixes Robert Baldyga <r.baldyga@samsung.com> - 2015-09-09 11:20 +0200
      Re: [PATCH 0/3] serial: samsung: Fix UART status handling and other  fixes Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-10 02:30 +0200

csiph-web