[U-Boot] [PATCH v2 25/80] dm: usb: Simply device finding code in usb_storage

Simon Glass sjg at chromium.org
Tue Apr 7 20:42:23 CEST 2015


On 25 March 2015 at 12:22, Simon Glass <sjg at chromium.org> wrote:
> The for() loop is not needed since the value is immediately accessible.
> Use this instead to simplify the code.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  common/usb_storage.c | 30 +++++++++++-------------------
>  1 file changed, 11 insertions(+), 19 deletions(-)

Applied to u-boot-dm/next.


More information about the U-Boot mailing list