diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2016-02-06 06:57:25 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-08 15:22:44 (GMT) |
commit | 928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch) | |
tree | abe98f6afbeebe8fd52b663d47617fb1f61e49ef /drivers/serial/serial_s3c24x0.c | |
parent | 89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff) | |
download | u-boot-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.xz |
Remove unused CONFIG_MODEM_SUPPORT option and associated dead code.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'drivers/serial/serial_s3c24x0.c')
-rw-r--r-- | drivers/serial/serial_s3c24x0.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/serial/serial_s3c24x0.c b/drivers/serial/serial_s3c24x0.c index 7afc504..4cc94d9 100644 --- a/drivers/serial/serial_s3c24x0.c +++ b/drivers/serial/serial_s3c24x0.c @@ -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 */ ; |