From 4be9eb789e72b845d6693cc36b70a0b3529b3f09 Mon Sep 17 00:00:00 2001 From: Mark Jonas Date: Sat, 22 Mar 2008 19:27:52 +0100 Subject: [PATCH] sh: Removed warning when compiling drivers/serial/serial_sh.c. Signed-off-by: Mark Jonas Signed-off-by: Nobuhiro Iwamatsu --- drivers/serial/serial_sh.c | 5 ----- 1 file changed, 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) -- 2.39.5