commit | 927609a220e5942bf881b0e5d57acfb481ffbf11 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Mon Nov 17 17:19:41 2014 +0900 |
committer | Simon Glass <sjg@chromium.org> | Sat Nov 22 10:16:49 2014 +0100 |
tree | 14eb667cd340050195cb5496f61a11b0194b956f | |
parent | 251daadc7cebd1af4c5d69f51c7c53ec34ff22f4 [diff] |
dm: core: remove unnecessary return condition in uclass lookup These conditions never happen. - There is no real uclass with UCLASS_INVALID id. - uclass never becomes NULL because ll_entry_start() always returns a valid pointer. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Acked-by: Simon Glass <sjg@chromium.org>