[U-Boot] [RFC PATCH 01/22] stdio: Remove redundant code around stdio_register() calls
Marek Vasut
marex at denx.de
Sun Jun 1 19:30:25 CEST 2014
On Saturday, May 24, 2014 at 11:21:00 PM, Simon Glass wrote:
> There is no point in setting a structure 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>
Best regards,
Marek Vasut
More information about the U-Boot
mailing list