From 470250e8e69fc05ee8423b63c6310fbfe258000e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20M=C3=BCller=20=28ELSOFT=20AG=29?= Date: Sat, 6 Feb 2016 07:57:29 +0100 Subject: [PATCH] s3c24xx: serial: Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: David Müller --- drivers/serial/serial_s3c24x0.c | 6 ------ 1 file changed, 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); -- 2.25.1