summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_ns16550.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-20 07:23:05 -0500
committerTom Rini <trini@konsulko.com>2016-01-25 10:39:45 -0500
commit0080931abfec5c25f76683e5b96b483416bd14f2 (patch)
tree6ee896193016a1a8e2e35cd64e9c6fea7d6eeac1 /drivers/serial/serial_ns16550.c
parent8d4f11c2033d0621f22a1501d92616596a8d1a62 (diff)
downloadu-boot-imx-0080931abfec5c25f76683e5b96b483416bd14f2.zip
u-boot-imx-0080931abfec5c25f76683e5b96b483416bd14f2.tar.gz
u-boot-imx-0080931abfec5c25f76683e5b96b483416bd14f2.tar.bz2
serial: Remove serial_putc_raw_dev
clang-3.8 reports that serial_putc_raw_dev in serial_ns16550.c is unused. Further investigation shows that we have 3 places that implement this function and no callers, remove. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/serial/serial_ns16550.c')
-rw-r--r--drivers/serial/serial_ns16550.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c
index 799ef6a..fcb1e95 100644
--- a/drivers/serial/serial_ns16550.c
+++ b/drivers/serial/serial_ns16550.c
@@ -127,11 +127,6 @@ static void _serial_putc(const char c, const int port)
NS16550_putc(PORT, c);
}
-static void _serial_putc_raw(const char c, const int port)
-{
- NS16550_putc(PORT, c);
-}
-
static void _serial_puts(const char *s, const int port)
{
while (*s) {
@@ -165,12 +160,6 @@ serial_putc_dev(unsigned int dev_index,const char c)
}
static inline void
-serial_putc_raw_dev(unsigned int dev_index,const char c)
-{
- _serial_putc_raw(c,dev_index);
-}
-
-static inline void
serial_puts_dev(unsigned int dev_index,const char *s)
{
_serial_puts(s,dev_index);