Dear Jean-Christophe PLAGNIOL-VILLARD,
In message <[EMAIL PROTECTED]> you wrote:
>
> > if (dev->status == 0)
> > return dev->act_len;
> please add {} to if too or remove the else
> > - else
> > + else {
> > + /* Let's wait a while for the timeout to elaps.
> > + * it has no real use, but it keeps the interface happy. */
> > + wait_ms(timeout);
> > return -1;
> > + }
Good catch.
Actually the "else" should be removed.
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: [EMAIL PROTECTED]
In the strict scientific sense we all feed on death -- even
vegetarians.
-- Spock, "Wolf in the Fold", stardate 3615.4
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot