Skip to contentSkip to conversation

serial: punt unused serial_addr()

PATCH New Mike Frysinger 2 participants 2 messages May 5, 2010 – May 6, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 board/barco/barco.c |    4 ----
 include/common.h    |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)
board/barco/barco.c +0 -4
index d7a0078..c5fe8c4 100644
@@ -340,10 +340,6 @@ void serial_puts (const char *c)
 {
 	return;
 }
-void serial_addr (unsigned int i)
-{
-	return;
-}
 int serial_getc (void)
 {
 	return 0;
include/common.h +0 -1
index c7358a2..ef6365a 100644
@@ -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);
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 serial: punt unused serial_addr()

Dear Mike Frysinger,

Quoted 8 lines · In message <[email protected]> you wrote:

Only one file apparently defines this function, and it merely stubs it out. So if no one is defining/calling it, punt it.

---
 board/barco/barco.c |    4 ----
 include/common.h    |    1 -
 2 files changed, 0 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Pig: An animal (Porcus omnivorous) closely allied to the  human  race
by  the splendor and vivacity of its appetite, which, however, is in-
ferior in scope, for it balks at pig.                - Ambrose Bierce