aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_i2c.c
diff options
context:
space:
mode:
authorPratap Chandu <pratap.rrke@gmail.com>2009-11-12 19:28:25 +0530
committerWolfgang Denk <wd@denx.de>2009-12-02 23:35:24 +0100
commitbd3784df94bfeca43fbf34094df9cb1bd3ecca3b (patch)
tree49718f758925d210fd5afe28e9c6840ed1664ed1 /common/cmd_i2c.c
parent64a480601a5614b441de692ae15a62c51e0bb381 (diff)
downloadu-boot-linaro-natty-bd3784df94bfeca43fbf34094df9cb1bd3ecca3b.tar.gz
Removes dead code in the file common/cmd_i2c.c
There is some dead code enclosed by #if 0 .... #endif in the file common/cmd_i2c.c This patch removes the dead code. Signed-off-by: Pratap Chandu <pratap.rrke@gmail.com>
Diffstat (limited to 'common/cmd_i2c.c')
-rw-r--r--common/cmd_i2c.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c
index 8f0fc9e1d..8d6feda27 100644
--- a/common/cmd_i2c.c
+++ b/common/cmd_i2c.c
@@ -326,14 +326,6 @@ int do_i2c_mw ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#if !defined(CONFIG_SYS_I2C_FRAM)
udelay(11000);
#endif
-
-#if 0
- for (timeout = 0; timeout < 10; timeout++) {
- udelay(2000);
- if (i2c_probe(chip) == 0)
- break;
- }
-#endif
}
return (0);