diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2012-07-03 22:39:27 -0600 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-07-04 15:52:55 +0300 |
commit | f90c2bcdbc69e41e575f868b984c3e2de8f51bac (patch) | |
tree | 1955dd08ce0a5e42ef1079ee292a4e5d95073776 /hw/ne2000.c | |
parent | 572992eefa74bfb92c24a28bd268de91a9311b0f (diff) | |
download | qemu-f90c2bcdbc69e41e575f868b984c3e2de8f51bac.zip qemu-f90c2bcdbc69e41e575f868b984c3e2de8f51bac.tar.gz qemu-f90c2bcdbc69e41e575f868b984c3e2de8f51bac.tar.bz2 |
pci: convert PCIUnregisterFunc to void
Not a single driver has any possibility of failure on their
exit function, let's keep it that way.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r-- | hw/ne2000.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c index d02e60c..afadbdb 100644 --- a/hw/ne2000.c +++ b/hw/ne2000.c @@ -744,14 +744,13 @@ static int pci_ne2000_init(PCIDevice *pci_dev) return 0; } -static int pci_ne2000_exit(PCIDevice *pci_dev) +static void pci_ne2000_exit(PCIDevice *pci_dev) { PCINE2000State *d = DO_UPCAST(PCINE2000State, dev, pci_dev); NE2000State *s = &d->ne2000; memory_region_destroy(&s->io); qemu_del_vlan_client(&s->nic->nc); - return 0; } static Property ne2000_properties[] = { |