vga: use common endian swap macros
commit937de9a981a86be1e002cff58f02272610708fbb
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 29 Dec 2014 13:38:48 +0000 (29 14:38 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Jan 2024 09:43:13 +0000 (18 10:43 +0100)
tree0cba873cd35b440d5b6f0a491d7f0a62968f2cde
parent977542ded7e6b28d2bc077bcda24568c716e393c
vga: use common endian swap macros

The constant-expression bswap is provided by const_le32(), and GET_PLANE()
can also be implemented using cpu_to_le32().  Remove the custom macros in
vga.c.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/display/vga.c