From: David Müller (ELSOFT AG) Date: Sat, 6 Feb 2016 06:57:29 +0000 (+0100) Subject: s3c24xx: serial: Remove dead code X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=470250e8e69fc05ee8423b63c6310fbfe258000e;p=u-boot.git s3c24xx: serial: Remove dead code Signed-off-by: David Müller --- 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);