From: PratapChandu Date: Wed, 11 Nov 2009 20:44:50 +0530 Subject: [U-Boot] redundant code in common/cmd_i2c. Message-ID: <880fa7950911110714w54afa0a4h896dcb64dc82e4c0@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The following code fragment in the file common/cmd_i2c.c seems to be redundant. Is not good to delete ? Line 330 - 336 is like below #if 0 for (timeout = 0; timeout < 10; timeout++) { udelay(2000); if (i2c_probe(chip) == 0) break; } #endif Regards Pratap Chandu Indian Institute of Tecnology , Roorkee