[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 11/13] AHCI: remove DPRINTF macro
From: |
John Snow |
Subject: |
[Qemu-devel] [PULL 11/13] AHCI: remove DPRINTF macro |
Date: |
Mon, 18 Sep 2017 20:11:45 -0400 |
Signed-off-by: John Snow <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Tested-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
Message-id: address@hidden
Signed-off-by: John Snow <address@hidden>
---
hw/ide/ahci.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index dfc05be..24c65df 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -34,17 +34,8 @@
#include "hw/ide/pci.h"
#include "hw/ide/ahci_internal.h"
-#define DEBUG_AHCI 0
#include "trace.h"
-#define DPRINTF(port, fmt, ...) \
-do { \
- if (DEBUG_AHCI) { \
- fprintf(stderr, "ahci: %s: [%d] ", __func__, port); \
- fprintf(stderr, fmt, ## __VA_ARGS__); \
- } \
-} while (0)
-
static void check_cmd(AHCIState *s, int port);
static int handle_cmd(AHCIState *s, int port, uint8_t slot);
static void ahci_reset_port(AHCIState *s, int port);
--
2.9.5
- [Qemu-devel] [PULL 00/13] Ide patches, (continued)
- [Qemu-devel] [PULL 00/13] Ide patches, John Snow, 2017/09/18
- [Qemu-devel] [PULL 02/13] hw/ide/microdrive: Mark the dscm1xxxx device with user_creatable = false, John Snow, 2017/09/18
- [Qemu-devel] [PULL 03/13] IDE: replace DEBUG_IDE with tracing system, John Snow, 2017/09/18
- [Qemu-devel] [PULL 04/13] IDE: Add register hints to tracing, John Snow, 2017/09/18
- [Qemu-devel] [PULL 05/13] IDE: add tracing for data ports, John Snow, 2017/09/18
- [Qemu-devel] [PULL 06/13] ATAPI: Replace DEBUG_IDE_ATAPI with tracing events, John Snow, 2017/09/18
- [Qemu-devel] [PULL 07/13] IDE: replace DEBUG_AIO with trace events, John Snow, 2017/09/18
- [Qemu-devel] [PULL 10/13] AHCI: pretty-print FIS to buffer instead of stderr, John Snow, 2017/09/18
- [Qemu-devel] [PULL 09/13] AHCI: Rework IRQ constants, John Snow, 2017/09/18
- [Qemu-devel] [PULL 11/13] AHCI: remove DPRINTF macro,
John Snow <=
- [Qemu-devel] [PULL 08/13] AHCI: Replace DPRINTF with trace-events, John Snow, 2017/09/18
- [Qemu-devel] [PULL 13/13] hw/block/fdc: Convert to realize, John Snow, 2017/09/18
- [Qemu-devel] [PULL 12/13] hw/ide: Convert DeviceClass init to realize, John Snow, 2017/09/18