summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-01-10 03:52:44 -0500
committerScott McNutt <smcnutt@psyent.com>2008-01-10 03:52:44 -0500
commit252f60b068d1f94190b5bcfda169db582387e15e (patch)
treeac3690f3c66a69c828409a3157f45caf3579f3bc
parent422b1a01602b6e2fbf8444a1192c7ba31461fd4c (diff)
downloadu-boot-imx-252f60b068d1f94190b5bcfda169db582387e15e.zip
u-boot-imx-252f60b068d1f94190b5bcfda169db582387e15e.tar.gz
u-boot-imx-252f60b068d1f94190b5bcfda169db582387e15e.tar.bz2
Nios2: remove common/cmd_bdinfo.c unused variable.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index d059983..c28a155 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -152,7 +152,9 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
+#if defined(CONFIG_CMD_NET)
int i;
+#endif
bd_t *bd = gd->bd;
print_num ("mem start", (ulong)bd->bi_memstart);