]> git.proxmox.com Git - qemu.git/commitdiff
Remove unused DEBUG defines from hw/msix.c
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 14 Jun 2010 15:05:16 +0000 (17:05 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 14 Jun 2010 15:58:08 +0000 (10:58 -0500)
Remove unused DEBUG defines from hw/msix.c to avoid having anything
define the word DEBUG without any additions such as MSIX_DEBUG.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/msix.c

index 1613bb4f119f790a15ab056a1697b87c53026c7f..d99403a0e98b3bdd7f8c9af4cf561455bde2b0eb 100644 (file)
--- a/hw/msix.c
+++ b/hw/msix.c
 #define MSIX_MAX_ENTRIES 32
 
 
-#ifdef MSIX_DEBUG
-#define DEBUG(fmt, ...)                                       \
-    do {                                                      \
-      fprintf(stderr, "%s: " fmt, __func__ , __VA_ARGS__);    \
-    } while (0)
-#else
-#define DEBUG(fmt, ...) do { } while(0)
-#endif
-
 /* Flag for interrupt controller to declare MSI-X support */
 int msix_supported;