aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-02-12 16:30:52 +0200
committerAvi Kivity <avi@redhat.com>2009-02-12 16:30:52 +0200
commit5bbb0003f7e23db055d30f1cde2278c74ed82bbc (patch)
tree49a6d3f854a5e98e6ee661224f7a49fdde406a13
parent4667e6ec0df770867095d8093562d93c94d96ca2 (diff)
Remove redundant memory access update for cirrus sr7 udpate
There is already a different check for the same thing earlier. Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/cirrus_vga.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c
index 84cf640da..2666642fb 100644
--- a/hw/cirrus_vga.c
+++ b/hw/cirrus_vga.c
@@ -1387,8 +1387,6 @@ cirrus_hook_write_sr(CirrusVGAState * s, unsigned reg_index, int reg_value)
printf("cirrus: handled outport sr_index %02x, sr_value %02x\n",
reg_index, reg_value);
#endif
- if (reg_index == 0x07)
- cirrus_update_memory_access(s);
break;
case 0x17: // Configuration Readback and Extended Control
s->sr[reg_index] = (s->sr[reg_index] & 0x38) | (reg_value & 0xc7);