diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2012-06-14 12:16:57 -0600 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@robin.(none)> | 2012-06-18 10:21:12 +0300 |
| commit | 572992eefa74bfb92c24a28bd268de91a9311b0f (patch) | |
| tree | 0869bd5d6c39bdf1005e6dcf67c02bd5b6f7d765 /hw/msix.h | |
| parent | 5a2c20298196e1eea212ca0fb6d0f68869a1b86d (diff) | |
| download | focaccia-qemu-572992eefa74bfb92c24a28bd268de91a9311b0f.tar.gz focaccia-qemu-572992eefa74bfb92c24a28bd268de91a9311b0f.zip | |
msix: Switch msix_uninit to return void
It can't fail. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/msix.h')
| -rw-r--r-- | hw/msix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/msix.h b/hw/msix.h index f637797b8f..1786e2766b 100644 --- a/hw/msix.h +++ b/hw/msix.h @@ -13,8 +13,8 @@ int msix_init_exclusive_bar(PCIDevice *dev, unsigned short nentries, void msix_write_config(PCIDevice *dev, uint32_t address, uint32_t val, int len); -int msix_uninit(PCIDevice *dev, MemoryRegion *table_bar, - MemoryRegion *pba_bar); +void msix_uninit(PCIDevice *dev, MemoryRegion *table_bar, + MemoryRegion *pba_bar); void msix_uninit_exclusive_bar(PCIDevice *dev); unsigned int msix_nr_vectors_allocated(const PCIDevice *dev); |