hw/display/tc6393xb: Inline tc6393xb_draw_graphic32() at its callsite
commit0dc51b002482d4b5e60f634dcbcd8a3a906d7b97
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Feb 2021 10:32:10 +0000 (15 10:32 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Sat, 6 Mar 2021 13:30:38 +0000 (6 13:30 +0000)
treec8b240d56a9d7ea53da06af99b665c23ddc956ec
parent8cfd41dd89981c49aa15c603c3e3233580620d72
hw/display/tc6393xb: Inline tc6393xb_draw_graphic32() at its callsite

The function tc6393xb_draw_graphic32() is called in exactly one place,
so just inline the function body at its callsite. This allows us to
drop the template header entirely.

The code move includes a single added space after 'for' to fix
the coding style.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210215103215.4944-5-peter.maydell@linaro.org
hw/display/tc6393xb.c
hw/display/tc6393xb_template.h [deleted file]