summaryrefslogtreecommitdiff
path: root/arch/sparc/lib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-04 18:53:40 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-15 17:32:05 -0500
commit50a47d0523e8efebe912bef539a77ffd42116451 (patch)
tree4501fa8c08405a3d9595a252df1ce725e27f3a0b /arch/sparc/lib
parente1902ac698194fdf20b473bd2d9c592c45554b72 (diff)
net: punt bd->bi_ip_addr
This field gets read in one place (by "bdinfo"), and we can replace that with getenv("ipaddr"). After all, the bi_ip_addr field is kept up-to-date implicitly with the value of the ipaddr env var. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r--arch/sparc/lib/board.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/lib/board.c b/arch/sparc/lib/board.c
index c0d260840c..9faf88bf22 100644
--- a/arch/sparc/lib/board.c
+++ b/arch/sparc/lib/board.c
@@ -333,8 +333,6 @@ void board_init_f(ulong bootflag)
mac_read_from_eeprom();
#endif
- /* IP Address */
- bd->bi_ip_addr = getenv_IPaddr("ipaddr");
#if defined(CONFIG_PCI)
/*
* Do pci configuration