summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_sh.c
diff options
context:
space:
mode:
authorMark Jonas <toertel@gmail.com>2008-03-22 19:27:52 +0100
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-03-28 14:16:14 +0900
commit4be9eb789e72b845d6693cc36b70a0b3529b3f09 (patch)
tree6555c16800e44fb26056dcb3de373b14673711ed /drivers/serial/serial_sh.c
parentf309fa38929ffba71230c02330ffa42f4bba6333 (diff)
downloadu-boot-4be9eb789e72b845d6693cc36b70a0b3529b3f09.tar.gz
sh: Removed warning when compiling drivers/serial/serial_sh.c.
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/serial/serial_sh.c')
-rw-r--r--drivers/serial/serial_sh.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c
index 7088c93114..522f96d5db 100644
--- a/drivers/serial/serial_sh.c
+++ b/drivers/serial/serial_sh.c
@@ -112,11 +112,6 @@ int serial_init (void)
return 0;
}
-static int serial_tx_fifo_level (void)
-{
- return (*SCFDR >> 8) & FIFOLEVEL_MASK;
-}
-
static int serial_rx_fifo_level (void)
{
#if defined(CONFIG_SH4A)