|
| From: | Anthony Liguori |
| Subject: | Re: [Qemu-devel] [PATCH 1/2] Remove unused DEBUG defines from hw/msix.c |
| Date: | Mon, 14 Jun 2010 11:29:05 -0500 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4 |
On 06/14/2010 10:05 AM, address@hidden wrote:
From: Jes Sorensen<address@hidden> 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<address@hidden>
Applied. Thanks. Regards, Anthony Liguori
---
hw/msix.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/hw/msix.c b/hw/msix.c
index 1613bb4..d99403a 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -42,15 +42,6 @@
#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;
| [Prev in Thread] | Current Thread | [Next in Thread] |