On Mon, 8 Mar 2021 at 14:07, Akihiko Odaki <[email protected]> wrote:
>
> c821a58ee7 ("ui/console: Pass placeholder surface to display")
> eliminated the possibility that NULL is passed as surface to
> dpy_gfx_switch and removed some NULL checks from gd_switch, but the
> removal was not thoroughly. Remaining NULL checks were confusing for
> Coverity and probably also for humans. This change removes those NULL
> checks.
>
> Reported-by: Coverity (CID 1448421)
> Signed-off-by: Akihiko Odaki <[email protected]>

Reviewed-by: Peter Maydell <[email protected]>

thanks
-- PMM

Reply via email to