From 393a98924eb00df76231384b86652e1d5f964d67 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Mon, 4 Jun 2012 16:56:01 +0200 Subject: msix: drop unused msix_bar_size, require valid bar_size No user in sight for msix_bar_size. bar_size for all users is aligned, let's simply require this instead of trying to fix up invalid input. Signed-off-by: Jan Kiszka Signed-off-by: Michael S. Tsirkin --- hw/msix.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'hw/msix.h') diff --git a/hw/msix.h b/hw/msix.h index 50aee82..e5a488d 100644 --- a/hw/msix.h +++ b/hw/msix.h @@ -21,8 +21,6 @@ void msix_load(PCIDevice *dev, QEMUFile *f); int msix_enabled(PCIDevice *dev); int msix_present(PCIDevice *dev); -uint32_t msix_bar_size(PCIDevice *dev); - int msix_vector_use(PCIDevice *dev, unsigned vector); void msix_vector_unuse(PCIDevice *dev, unsigned vector); void msix_unuse_all_vectors(PCIDevice *dev); -- cgit v1.1