]> git.dujemihanovic.xyz Git - u-boot.git/commit
console: remove duplicated test on gd value
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 27 Nov 2020 10:20:56 +0000 (11:20 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:11 +0000 (14:36 -0500)
commit93cdb52b2a06bf5fb2ea02db28a95b5524ab1e6e
treefa0f2fc4be2dc323e8787d0a7af085e5087e263c
parenta4918b231065224092a34bf8cca5af704bb8373b
console: remove duplicated test on gd value

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@st.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/console.c