commit | 84073b6f3c202f5d67813fd3ae5377bf2d98d66b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:22:13 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:22 2015 -0600 |
tree | 038dd7f855069120e83ee60978eea60a26e0b86c | |
parent | 1d5827a12ebd20d64b972111b846cb1ca87ff82e [diff] |
dm: usb: Simply device finding code in usb_storage 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@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>