aboutsummaryrefslogtreecommitdiff
path: root/include/sysemu
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-01-21 17:05:31 +0100
committerThomas Huth <thuth@redhat.com>2020-02-04 09:00:57 +0100
commitd9018fbbd68bf3a8338828ee3038341518c74212 (patch)
treeea5f6aa9e7cdcb9484585eb9cab890aef3b9bc15 /include/sysemu
parent432b119be4a5d0902d71869f2a29c3c01d60eb45 (diff)
trivial: Remove xenfb_enabled from sysemu.h
The define is only used in one other place. Move the code there instead of keeping this xen-specific define in sysemu.h. Message-Id: <20200121161747.10569-1-thuth@redhat.com> Acked-by: Paul Durrant <paul@xen.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r--include/sysemu/sysemu.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 686f4217a6..6358a324a7 100644
--- a/include/sysemu/sysemu.h
+++ b/include/sysemu/sysemu.h
@@ -32,7 +32,6 @@ typedef enum {
} VGAInterfaceType;
extern int vga_interface_type;
-#define xenfb_enabled (vga_interface_type == VGA_XENFB)
extern int graphic_width;
extern int graphic_height;