From: Holger Brunck Date: Mon, 21 Jan 2013 03:55:14 +0000 (+0000) Subject: km/common/ivm: remove obsolete code X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=811c8cad7196acb0ae2dd6bf04919689e9d803dc;p=u-boot.git km/common/ivm: remove obsolete code EEprom_ivm_addr isn't set in our environment, so remove the usage of this. Signed-off-by: Holger Brunck --- diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c index eaa924f0e6..7fe3b0fc09 100644 --- a/board/keymile/common/ivm.c +++ b/board/keymile/common/ivm.c @@ -325,14 +325,6 @@ int ivm_read_eeprom(void) } i2c_set_bus_num(dev->busid); #endif - - buf = (unsigned char *) getenv("EEprom_ivm_addr"); - if (buf != NULL) { - ret = strict_strtoul((char *)buf, 16, &dev_addr); - if (ret != 0) - return -3; - } - /* add deblocking here */ i2c_make_abort();