aboutsummaryrefslogtreecommitdiff
path: root/hw/msix.c
diff options
context:
space:
mode:
authorAmos Kong <akong@redhat.com>2012-09-29 13:36:21 +0800
committerStefan Hajnoczi <stefanha@gmail.com>2012-10-05 15:10:21 +0200
commit4d5b97da35ecbfdad6fe1cbe7fdd7d71ef735602 (patch)
treeee0e196c5bc3d4cb7702ff55c5bf7464c86a8783 /hw/msix.c
parent58455eb9f2865d54c8bf208805f7a4c217b5c00d (diff)
cleanup useless return sentence
This patch cleans up return sentences in the end of void functions. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Amos Kong <akong@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
Diffstat (limited to 'hw/msix.c')
-rw-r--r--hw/msix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/msix.c b/hw/msix.c
index d812094139..b623cb597c 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -366,7 +366,6 @@ void msix_uninit(PCIDevice *dev, MemoryRegion *table_bar, MemoryRegion *pba_bar)
g_free(dev->msix_entry_used);
dev->msix_entry_used = NULL;
dev->cap_present &= ~QEMU_PCI_CAP_MSIX;
- return;
}
void msix_uninit_exclusive_bar(PCIDevice *dev)