From 5794619e29c5e22280b0b09b2ea6bc3d2e00da3f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 5 May 2010 04:32:43 -0400 Subject: serial: punt unused serial_addr() Only one file apparently defines this function, and it merely stubs it out. So if no one is defining/calling it, punt it. Signed-off-by: Mike Frysinger --- board/barco/barco.c | 4 ---- include/common.h | 1 - 2 files changed, 5 deletions(-) diff --git a/board/barco/barco.c b/board/barco/barco.c index d7a0078..c5fe8c4 100644 --- a/board/barco/barco.c +++ b/board/barco/barco.c @@ -340,10 +340,6 @@ void serial_puts (const char *c) { return; } -void serial_addr (unsigned int i) -{ - return; -} int serial_getc (void) { return 0; diff --git a/include/common.h b/include/common.h index 5591e1d..8bca04f 100644 --- a/include/common.h +++ b/include/common.h @@ -470,7 +470,6 @@ void ft_pci_setup(void *blob, bd_t *bd); /* $(CPU)/serial.c */ int serial_init (void); void serial_exit (void); -void serial_addr (unsigned int); void serial_setbrg (void); void serial_putc (const char); void serial_putc_raw(const char); -- cgit v1.1