[U-Boot] [PATCH v3 03/29] stdio: Remove redundant code around stdio_register() calls

Simon Glass sjg at chromium.org
Sat Jul 26 17:03:02 CEST 2014


On 23 July 2014 13:54, Simon Glass <sjg at chromium.org> wrote:
> There is no point in setting a structure's memory to NULL when it has
> already been zeroed with memset().
>
> Also, there is no need to create a stub function for stdio to call - if the
> function is NULL it will not be called.
>
> This is a clean-up, with no change in functionality.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Acked-by: Marek Vasut <marex at denx.de>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Reformat commit message slightly
> - Remove change to board/rbc823/kbd.c, since it has been deleted

Applied to dm/master.


More information about the U-Boot mailing list