From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51581 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOCX7-0006Ch-92 for qemu-devel@nongnu.org; Mon, 14 Jun 2010 12:29:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOCX6-0003Cx-1q for qemu-devel@nongnu.org; Mon, 14 Jun 2010 12:29:08 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:46779) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOCX5-0003Cj-TM for qemu-devel@nongnu.org; Mon, 14 Jun 2010 12:29:08 -0400 Received: by gwaa20 with SMTP id a20so933610gwa.4 for ; Mon, 14 Jun 2010 09:29:07 -0700 (PDT) Message-ID: <4C1658D1.7070906@codemonkey.ws> Date: Mon, 14 Jun 2010 11:29:05 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/2] Remove unused DEBUG defines from hw/msix.c References: <1276527917-24703-1-git-send-email-Jes.Sorensen@redhat.com> <1276527917-24703-2-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: <1276527917-24703-2-git-send-email-Jes.Sorensen@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: dprotti@flowgate.net, qemu-devel@nongnu.org, mst@redhat.com On 06/14/2010 10:05 AM, Jes.Sorensen@redhat.com wrote: > From: Jes Sorensen > > 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 > 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; > >