[U-Boot] [PATCH] board/purple/flash.c: removed unneded test

Wolfgang Denk wd at denx.de
Sat Jul 31 19:16:58 CEST 2010


Dear Frans Meulenbroeks,

In message <1280585375-1613-1-git-send-email-fransmeulenbroeks at gmail.com> you wrote:
> removed part of a test which tested for a var that did not change
> within the loop and hence was superfluous

Hm... if you check the code, you see that the other "references" to
this variable are not exactly making much sense either. And the
function does not return any useful error codes.

Looks as if this never was really thought to an end...

If you touch this file, we should throw out rcode completely.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
In accord with UNIX philosophy, Perl gives you enough  rope  to  hang
yourself.              - L. Wall & R. L. Schwartz, _Programming Perl_


More information about the U-Boot mailing list