]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 d05998366b150e82f6200f249c017c2c989c052d..c28a155453099fda3e5d7ca4ab232f89a87527d3 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);