Nios2: remove common/cmd_bdinfo.c unused variable.
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 10 Jan 2008 08:52:44 +0000 (03:52 -0500)
committerScott McNutt <smcnutt@psyent.com>
Thu, 10 Jan 2008 08:52:44 +0000 (03:52 -0500)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
common/cmd_bdinfo.c

index d059983..c28a155 100644 (file)
@@ -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);