summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-02-06 07:57:29 +0100
committerTom Rini <trini@konsulko.com>2016-02-08 10:24:18 -0500
commit470250e8e69fc05ee8423b63c6310fbfe258000e (patch)
treee3132d2d80e1a83811d7208866142aaebfb9d27b
parent0c2b6dffb7fcd6ef028020587a030b6bef154a0e (diff)
s3c24xx: serial: Remove dead code
Signed-off-by: David Müller <d.mueller@elsoft.ch>
-rw-r--r--drivers/serial/serial_s3c24x0.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/serial/serial_s3c24x0.c b/drivers/serial/serial_s3c24x0.c
index fb895fd326..d4e7df27be 100644
--- a/drivers/serial/serial_s3c24x0.c
+++ b/drivers/serial/serial_s3c24x0.c
@@ -103,12 +103,6 @@ static int serial_init_dev(const int dev_index)
*/
writel(0x245, &uart->ucon);
- /* FIXME: This is sooooooooooooooooooo ugly */
-#if defined(CONFIG_ARCH_GTA02_v1) || defined(CONFIG_ARCH_GTA02_v2)
- /* we need auto hw flow control on the gsm and gps port */
- if (dev_index == 0 || dev_index == 1)
- writel(0x10, &uart->umcon);
-#endif
_serial_setbrg(dev_index);
return (0);