mirror of https://gitee.com/openkylin/qemu.git
Remove unused DEBUG defines from hw/msix.c
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>
This commit is contained in:
parent
a4673e2762
commit
ac7045cff7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue