[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 9/9] AHCI: remove DPRINTF macro
From: |
John Snow |
Subject: |
[Qemu-devel] [PATCH v2 9/9] AHCI: remove DPRINTF macro |
Date: |
Tue, 29 Aug 2017 16:49:34 -0400 |
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 2e75f9b..57bb59d 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] [PATCH v2 2/9] IDE: Add register hints to tracing, (continued)
- [Qemu-devel] [PATCH v2 2/9] IDE: Add register hints to tracing, John Snow, 2017/08/29
- [Qemu-devel] [PATCH v2 5/9] IDE: replace DEBUG_AIO with trace events, John Snow, 2017/08/29
- [Qemu-devel] [PATCH v2 4/9] ATAPI: Replace DEBUG_IDE_ATAPI with tracing events, John Snow, 2017/08/29
- [Qemu-devel] [PATCH v2 8/9] AHCI: pretty-print FIS to buffer instead of stderr, John Snow, 2017/08/29
- [Qemu-devel] [PATCH v2 6/9] AHCI: Replace DPRINTF with trace-events, John Snow, 2017/08/29
- [Qemu-devel] [PATCH v2 9/9] AHCI: remove DPRINTF macro,
John Snow <=
- [Qemu-devel] [PATCH v2 7/9] AHCI: Rework IRQ constants, John Snow, 2017/08/29
- Re: [Qemu-devel] [PATCH v2 0/9] IDE: replace printfs with tracing, no-reply, 2017/08/29
- Re: [Qemu-devel] [Qemu-block] [PATCH v2 0/9] IDE: replace printfs with tracing, Stefan Hajnoczi, 2017/08/30