[U-Boot] [PATCH v2 03/29] stdio: Remove redundant code around stdio_register() calls
Marek Vasut
marex at denx.de
Fri Jul 11 01:23:00 CEST 2014
On Wednesday, July 09, 2014 at 05:37:53 AM, Simon Glass 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>
> ---
Acked-by: Marek Vasut <marex at denx.de>
Some of those implementations really make my head spin ... *sigh* . Thank you
for cleaning this up a bit !
Best regards,
Marek Vasut
More information about the U-Boot
mailing list