summaryrefslogtreecommitdiffstats
path: root/hw/vga-pci.c
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/vga-pci.c
parentf642dfce199eecda5a558ce94c17a34707d63ccd (diff)
downloadhqemu-457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b.zip
hqemu-457ebdcd91aa7f0df094e12a8c46235f0c7d4f9b.tar.gz
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/vga-pci.c')
-rw-r--r--hw/vga-pci.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/vga-pci.c b/hw/vga-pci.c
index 992ffd9..996d47f 100644
--- a/hw/vga-pci.c
+++ b/hw/vga-pci.c
@@ -24,7 +24,6 @@
#include "hw.h"
#include "console.h"
#include "pci.h"
-#include "vga-pci.h"
#include "vga_int.h"
#include "pixel_ops.h"
#include "qemu-timer.h"
@@ -70,11 +69,6 @@ static int pci_std_vga_initfn(PCIDevice *dev)
return 0;
}
-DeviceState *pci_std_vga_init(PCIBus *bus)
-{
- return &pci_create_simple(bus, -1, "VGA")->qdev;
-}
-
static Property vga_pci_properties[] = {
DEFINE_PROP_UINT32("vgamem_mb", PCIVGAState, vga.vram_size_mb, 16),
DEFINE_PROP_END_OF_LIST(),
OpenPOWER on IntegriCloud