From: Mark Jonas Date: Sat, 22 Mar 2008 18:27:52 +0000 (+0100) Subject: sh: Removed warning when compiling drivers/serial/serial_sh.c. X-Git-Tag: v1.3.3-rc1~116^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4be9eb789e72b845d6693cc36b70a0b3529b3f09;p=u-boot sh: Removed warning when compiling drivers/serial/serial_sh.c. Signed-off-by: Mark Jonas Signed-off-by: Nobuhiro Iwamatsu --- 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)