aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-09-08 12:58:09 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-10-06 18:48:39 +0200
commit457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b (patch)
tree82ed899a26883abf4c1a37810095118fc83cf901 /hw/pc.h
parentf642dfce199eecda5a558ce94c17a34707d63ccd (diff)
downloadqemu-457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b.zip
qemu-457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b.tar.gz
qemu-457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b.tar.bz2
vga: cleanup after isa_vga_init() and pci_vga_init() conversion
Now that all machines call isa_vga_init() or pci_vga_init(), some unused code can be removed. Cc: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/pc.h')
-rw-r--r--hw/pc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/pc.h b/hw/pc.h
index 77c38d6..9923d96 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -176,19 +176,6 @@ enum vga_retrace_method {
extern enum vga_retrace_method vga_retrace_method;
-static inline DeviceState *isa_std_vga_init(ISABus *bus)
-{
- ISADevice *dev;
-
- dev = isa_try_create(bus, "isa-vga");
- if (!dev) {
- fprintf(stderr, "Warning: isa-vga not available\n");
- return NULL;
- }
- qdev_init_nofail(&dev->qdev);
- return &dev->qdev;
-}
-
int isa_vga_mm_init(target_phys_addr_t vram_base,
target_phys_addr_t ctrl_base, int it_shift,
MemoryRegion *address_space);