[U-Boot] [PATCH 4/8] dm: core: remove unnecessary return condition in uclass lookup
Simon Glass
sjg at chromium.org
Mon Nov 17 10:16:21 CET 2014
On 17 November 2014 08:19, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> 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 at jp.panasonic.com>
Yes we now use proper error codes to detect an invalid uclass, so it
is good to clean this up.
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list