diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-02-05 14:34:19 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-12 08:27:53 +0000 |
commit | 5c81e4ca9e5c11239a9db12f0f57c6c1e24b6760 (patch) | |
tree | 78ce65cba6a6fd999afa778190a37ebb984f348f /hw/vmware_vga.c | |
parent | 55619bb667a681d248009f3b10094b6cf121671f (diff) |
vmware_vga: refactor device creation
Turn vmsvga_init into an inline function.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r-- | hw/vmware_vga.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 6c59053308..4656767964 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1309,11 +1309,6 @@ static int pci_vmsvga_initfn(PCIDevice *dev) return 0; } -void pci_vmsvga_init(PCIBus *bus) -{ - pci_create_simple(bus, -1, "vmware-svga"); -} - static PCIDeviceInfo vmsvga_info = { .qdev.name = "vmware-svga", .qdev.size = sizeof(struct pci_vmsvga_state_s), |