On 05/04/2016 08:15 AM, Peter Maydell wrote: > Now that we can assume that only depth 32 is possible, there's no need > for the COPY_PIXEL1 and PIXEL_TYPE macros, and the SKIP_PIXEL, COPY_PIXEL > and SWAP_WORDS macros aren't used at all. Expand out COPY_PIXEL1 and > PIXEL_TYPE where they are used, delete the unused macro definitions, and > expand out the uses of glue(name_prefix, DEPTH). > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > hw/display/blizzard_template.h | 55 > +++++++++++++----------------------------- > 1 file changed, 17 insertions(+), 38 deletions(-)
I might have broken into more patches, one per macro expansion; but the final patch was still small enough to review when merged, so keep it the way you have it. Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature