qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org>,
	qemu-trivial@nongnu.org, "Guan Xuetao" <gxt@mprc.pku.edu.cn>,
	"Michael Tokarev" <mjt@tls.msk.ru>,
	"Laurent Vivier" <lvivier@redhat.com>
Subject: [Qemu-devel] [PATCH 6/6] unicore32/puv3: remove definition of DPRINTF
Date: Wed, 12 Dec 2018 18:30:07 +0100	[thread overview]
Message-ID: <20181212173007.11407-7-lvivier@redhat.com> (raw)
In-Reply-To: <20181212173007.11407-1-lvivier@redhat.com>

As previous patches have removed the use of DPRINTF from puv3 files,
we can remove the definition from puv3.h

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
---
 include/hw/unicore32/puv3.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/hw/unicore32/puv3.h b/include/hw/unicore32/puv3.h
index f587a1f622..a876f21dfb 100644
--- a/include/hw/unicore32/puv3.h
+++ b/include/hw/unicore32/puv3.h
@@ -30,11 +30,4 @@
 #define PUV3_IRQS_PS2_AUX       (23)
 #define PUV3_IRQS_OST0          (26)
 
-/* All puv3_*.c use DPRINTF for debug. */
-#ifdef DEBUG_PUV3
-#define DPRINTF(fmt, ...) printf("%s: " fmt , __func__, ## __VA_ARGS__)
-#else
-#define DPRINTF(fmt, ...) do {} while (0)
-#endif
-
 #endif /* QEMU_HW_PUV3_H */
-- 
2.19.2

      parent reply	other threads:[~2018-12-12 17:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-12 17:30 [Qemu-devel] [PATCH 0/6] unicore32/puv3: Convert from DPRINTF() macro to trace event Laurent Vivier
2018-12-12 17:30 ` [Qemu-devel] [PATCH 1/6] hw/dma/puv3_dma: " Laurent Vivier
2018-12-12 17:30 ` [Qemu-devel] [PATCH 2/6] hw/dma/puv3_gpio: " Laurent Vivier
2018-12-12 17:30 ` [Qemu-devel] [PATCH 3/6] hw/dma/puv3_intc: " Laurent Vivier
2018-12-12 17:30 ` [Qemu-devel] [PATCH 4/6] hw/misc/puv3_pm: " Laurent Vivier
2018-12-12 17:30 ` [Qemu-devel] [PATCH 5/6] hw/timer/puv3_ost: " Laurent Vivier
2018-12-12 17:30 ` Laurent Vivier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181212173007.11407-7-lvivier@redhat.com \
    --to=lvivier@redhat.com \
    --cc=f4bug@amsat.org \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).