From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmowz-0001As-DB for qemu-devel@nongnu.org; Tue, 29 Aug 2017 18:25:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmowy-0005c5-HP for qemu-devel@nongnu.org; Tue, 29 Aug 2017 18:25:37 -0400 Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= References: <20170829204934.9039-1-jsnow@redhat.com> <20170829204934.9039-10-jsnow@redhat.com> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Message-ID: Date: Tue, 29 Aug 2017 19:24:51 -0300 MIME-Version: 1.0 In-Reply-To: <20170829204934.9039-10-jsnow@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v2 9/9] AHCI: remove DPRINTF macro List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-block@nongnu.org Cc: eblake@redhat.com, qemu-devel@nongnu.org On 08/29/2017 05:49 PM, John Snow wrote: > Signed-off-by: John Snow Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé > --- > 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); >