[U-Boot] [PATCH] Removes dead code in the file common/cmd_i2c.c

Heiko Schocher hs at denx.de
Thu Dec 3 07:48:31 CET 2009


Hello Wolfgang,

Wolfgang Denk schrieb:
> Dear Pratap Chandu,
> 
> In message <1258034305-31770-1-git-send-email-pratap.rrke at gmail.com> you wrote:
>> 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 at gmail.com>
>> ---
>>  common/cmd_i2c.c |    8 --------
>>  1 files changed, 0 insertions(+), 8 deletions(-)
> 
> Applied, thanks.
> 
> Heiko, I hope this is OK with you.

Hmm.. not really, my last comment on this was:

http://lists.denx.de/pipermail/u-boot/2009-November/064245.html

I don;t know, if this was ever used, but we should make this
as a CONFIG option, like CONFIG_SYS_I2C_CMD_MW_WITH_PROBE.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list