From: Mike Frysinger Date: Wed, 5 May 2010 08:32:43 +0000 (-0400) Subject: serial: punt unused serial_addr() X-Git-Tag: v2010.06-rc1~24 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5794619e29c5e22280b0b09b2ea6bc3d2e00da3f;p=oweals%2Fu-boot.git 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 --- diff --git a/board/barco/barco.c b/board/barco/barco.c index d7a00782b8..c5fe8c4708 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 5591e1d04b..8bca04fdd7 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);