Commit 13a2158c authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] trident: use pr_debug instead of home-brewed TRDBG

From: Muli Ben-Yehuda <mulix@mulix.org>

Yet another sound/oss/trident cleanup patch.  This one replace the TRDBG
debugging macro with the standard pr_debug.  Patch is from Eugene Teo
<eugene.teo@eugeneteo.net>, slightly modified by me to apply against
2.6.0-rc1-mm1 with the other cleanup patches applied.
parent 0d7bcc30
This diff is collapsed.
...@@ -355,16 +355,4 @@ static inline unsigned ld2(unsigned int x) ...@@ -355,16 +355,4 @@ static inline unsigned ld2(unsigned int x)
return r; return r;
} }
#ifdef DEBUG
#define TRDBG(msg, args...) do { \
printk(DEBUG msg , ##args ); \
} while (0)
#else /* !defined(DEBUG) */
#define TRDBG(msg, args...) do { } while (0)
#endif /* DEBUG */
#endif /* __TRID4DWAVE_H */ #endif /* __TRID4DWAVE_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment