Skip to content
Snippets Groups Projects
Commit 811c8cad authored by Holger Brunck's avatar Holger Brunck Committed by Kim Phillips
Browse files

km/common/ivm: remove obsolete code


EEprom_ivm_addr isn't set in our environment, so remove the usage of
this.

Signed-off-by: default avatarHolger Brunck <holger.brunck@keymile.com>
parent a5a614c1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment