diff options
author | wdenk <wdenk> | 2003-09-16 21:07:28 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-09-16 21:07:28 +0000 |
commit | 34b3049a60a37e180d73332ccddf706c049a0515 (patch) | |
tree | 34dcc3a7d162e1e0df4ff5eb65348a76cf21038c /drivers | |
parent | ef709e923038ae702535a3dcbdb45a1b4cd6105c (diff) | |
download | u-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.zip u-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.tar.gz u-boot-imx-34b3049a60a37e180d73332ccddf706c049a0515.tar.bz2 |
Code cleanup
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/smc91111.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/smc91111.c b/drivers/smc91111.c index d0cb695..3146ff4 100644 --- a/drivers/smc91111.c +++ b/drivers/smc91111.c @@ -1406,9 +1406,6 @@ int smc_get_ethaddr (bd_t * bd) if (env_present && rom_valid) { /* if both env and ROM are good */ if (memcmp (v_env_mac, v_rom_mac, 6) != 0) { - printf ("\n*** Warning: Environment and ROM MAC addresses don't match\n"); - printf ("*** Using Environment MAC\n"); - ----- printf ("\nWarning: MAC addresses don't match:\n"); printf ("\tHW MAC address: " "%02X:%02X:%02X:%02X:%02X:%02X\n", @@ -1421,7 +1418,6 @@ int smc_get_ethaddr (bd_t * bd) v_env_mac[2], v_env_mac[3], v_env_mac[4], v_env_mac[5]) ; debug ("### Set MAC addr from environment\n"); - memcpy (addr, env_enetaddr, 6); } } memcpy (bd->bi_enetaddr, v_mac, 6); /* update global address to match env (allows env changing) */ |