From 2eb008a6e3579f2b1d0d9f28a6ea681966f9c7d7 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 27 Jun 2011 18:51:11 -0700 Subject: Use instead of an ad hoc definition Instead of using ad hoc definitions of dprintf, dprintf2, vdprintf and vdprintf2, use everywhere possible. Signed-off-by: H. Peter Anvin --- com32/modules/ethersel.c | 7 +------ com32/modules/pcitest.c | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'com32/modules') diff --git a/com32/modules/ethersel.c b/com32/modules/ethersel.c index 5c3cf02a..28dc62ca 100644 --- a/com32/modules/ethersel.c +++ b/com32/modules/ethersel.c @@ -38,12 +38,7 @@ #include #include #include - -#ifdef DEBUG -# define dprintf printf -#else -# define dprintf(...) ((void)0) -#endif +#include #define MAX_LINE 512 diff --git a/com32/modules/pcitest.c b/com32/modules/pcitest.c index 672023ad..9921ee6d 100644 --- a/com32/modules/pcitest.c +++ b/com32/modules/pcitest.c @@ -39,12 +39,7 @@ #include #include #include - -#ifdef DEBUG -# define dprintf printf -#else -# define dprintf(...) ((void)0) -#endif +#include char display_line = 0; #define moreprintf(...) \ -- cgit v1.2.1