qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vga: drop unused dmask16 and dmask4 to avoid compiler warnings
@ 2014-10-15  9:04 Igor Mammedov
  2014-10-15  9:19 ` Gonglei
  0 siblings, 1 reply; 2+ messages in thread
From: Igor Mammedov @ 2014-10-15  9:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, kraxel

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
---
 hw/display/vga.c | 26 --------------------------
 1 file changed, 26 deletions(-)

diff --git a/hw/display/vga.c b/hw/display/vga.c
index 19e7f23..52eaf05 100644
--- a/hw/display/vga.c
+++ b/hw/display/vga.c
@@ -136,32 +136,6 @@ static const uint32_t mask16[16] = {
 #define PAT(x) cbswap_32(x)
 #endif
 
-static const uint32_t dmask16[16] = {
-    PAT(0x00000000),
-    PAT(0x000000ff),
-    PAT(0x0000ff00),
-    PAT(0x0000ffff),
-    PAT(0x00ff0000),
-    PAT(0x00ff00ff),
-    PAT(0x00ffff00),
-    PAT(0x00ffffff),
-    PAT(0xff000000),
-    PAT(0xff0000ff),
-    PAT(0xff00ff00),
-    PAT(0xff00ffff),
-    PAT(0xffff0000),
-    PAT(0xffff00ff),
-    PAT(0xffffff00),
-    PAT(0xffffffff),
-};
-
-static const uint32_t dmask4[4] = {
-    PAT(0x00000000),
-    PAT(0x0000ffff),
-    PAT(0xffff0000),
-    PAT(0xffffffff),
-};
-
 static uint32_t expand4[256];
 static uint16_t expand2[256];
 static uint8_t expand4to8[16];
-- 
1.9.3 (Apple Git-50)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] vga: drop unused dmask16 and dmask4 to avoid compiler warnings
  2014-10-15  9:04 [Qemu-devel] [PATCH] vga: drop unused dmask16 and dmask4 to avoid compiler warnings Igor Mammedov
@ 2014-10-15  9:19 ` Gonglei
  0 siblings, 0 replies; 2+ messages in thread
From: Gonglei @ 2014-10-15  9:19 UTC (permalink / raw)
  To: Igor Mammedov; +Cc: qemu-trivial, qemu-devel, kraxel

On 2014/10/15 17:04, Igor Mammedov wrote:

> Signed-off-by: Igor Mammedov <imammedo@redhat.com>
> ---
>  hw/display/vga.c | 26 --------------------------
>  1 file changed, 26 deletions(-)
> 

AFAICT, Peter had posted this patch, which had queued in vga-next branch by Gerd. :)

[PATCH] hw/display/vga: Remove unused arrays dmask4	and dmask16

Best regards,
-Gonglei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-15  9:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-15  9:04 [Qemu-devel] [PATCH] vga: drop unused dmask16 and dmask4 to avoid compiler warnings Igor Mammedov
2014-10-15  9:19 ` Gonglei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).