[U-Boot] [PATCH 3/8] dm: core: remove unnecessary return condition in driver lookup

Simon Glass sjg at chromium.org
Mon Nov 17 10:14:56 CET 2014


On 17 November 2014 08:19, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> The variable "drv" never becomes NULL because ll_entry_start()
> always returns a valid pointer even if there are no entries.
>
> The case "n_ents == 0" is covered by the following "for" loop.
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list