[PATCH 03/18] video: bochs: Drop the useless argument of bochs_vga_write()

Simon Glass sjg at chromium.org
Mon Jul 24 00:58:28 CEST 2023


On Sat, 22 Jul 2023 at 22:41, Bin Meng <bmeng at tinylab.org> wrote:
>
> bochs_vga_write() takes 'index' as one argument, but never uses it.
>
> While we are here, use macros instead of magic numbers for the
> VGA IO port register name and value.
>
> Signed-off-by: Bin Meng <bmeng at tinylab.org>
> ---
>
>  drivers/video/bochs.c | 7 ++++---
>  drivers/video/bochs.h | 5 ++++-
>  2 files changed, 8 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested-by: Simon Glass <sjg at chromium.org>  # qemu-x86_64


More information about the U-Boot mailing list