[PATCH v2 6/9] console: remove duplicated test on gd value

Simon Glass sjg at chromium.org
Mon Nov 30 21:12:28 CET 2020


On Fri, 27 Nov 2020 at 03:21, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Reorder test on gd value and remove the duplicated test (!gd)
> in putc and puts function.
>
> This patch is a preliminary step for rework of this function.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> Changes in v2:
> - update gd test in console function puts and putc (cosmetic)
>
>  common/console.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

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


More information about the U-Boot mailing list