[PATCH 2/3] artist: remove unused ROP8OFF() macro

Mark Cave-Ayland posted 3 patches 3 years, 9 months ago
[PATCH 2/3] artist: remove unused ROP8OFF() macro
Posted by Mark Cave-Ayland 3 years, 9 months ago
This macro is unused and so can simply be removed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
---
 hw/display/artist.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/hw/display/artist.c b/hw/display/artist.c
index be92113494..4a9f7b5e59 100644
--- a/hw/display/artist.c
+++ b/hw/display/artist.c
@@ -25,12 +25,6 @@
 #define TYPE_ARTIST "artist"
 OBJECT_DECLARE_SIMPLE_TYPE(ARTISTState, ARTIST)
 
-#if HOST_BIG_ENDIAN
-#define ROP8OFF(_i) (3 - (_i))
-#else
-#define ROP8OFF
-#endif
-
 struct vram_buffer {
     MemoryRegion mr;
     uint8_t *data;
-- 
2.20.1
Re: [PATCH 2/3] artist: remove unused ROP8OFF() macro
Posted by Peter Maydell 3 years, 9 months ago
On Wed, 4 May 2022 at 16:41, Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk> wrote:
>
> This macro is unused and so can simply be removed.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> ---

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM