[U-Boot] [PATCH 4/8] dm: core: remove unnecessary return condition in uclass lookup
Simon Glass
sjg at chromium.org
Sun Nov 23 14:00:48 CET 2014
On 17 November 2014 at 10:16, Simon Glass <sjg at chromium.org> wrote:
> 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>
Applied to u-boot-dm.
More information about the U-Boot
mailing list