]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/serial/serial_s3c24x0.c
Remove unused CONFIG_MODEM_SUPPORT option and associated dead code.
[people/ms/u-boot.git] / drivers / serial / serial_s3c24x0.c
index 7afc5044a8c70f77607a5e1d351b83b2681b012b..4cc94d9aa9df4d908b4e34ed03dc539aee2d9eb3 100644 (file)
@@ -164,30 +164,12 @@ int hwflow_onoff(int on)
 }
 #endif
 
-#ifdef CONFIG_MODEM_SUPPORT
-static int be_quiet = 0;
-void disable_putc(void)
-{
-       be_quiet = 1;
-}
-
-void enable_putc(void)
-{
-       be_quiet = 0;
-}
-#endif
-
-
 /*
  * Output a single byte to the serial port.
  */
 static void _serial_putc(const char c, const int dev_index)
 {
        struct s3c24x0_uart *uart = s3c24x0_get_base_uart(dev_index);
-#ifdef CONFIG_MODEM_SUPPORT
-       if (be_quiet)
-               return;
-#endif
 
        while (!(readl(&uart->utrstat) & 0x2))
                /* wait for room in the tx FIFO */ ;