commit | 5c3c91cd55ab44b2cba58295cd79de064fb5ad16 | [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 | 78330d6df84416305a36173f7a8f5c7f53394a22 [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>