ws_debug_level used only if defined DEBUG.

ok matthieu@
This commit is contained in:
shadchin 2011-11-19 12:59:55 +00:00
parent df8922a136
commit cb94a4132b

View File

@ -16,12 +16,11 @@
#include <dev/wscons/wsconsio.h>
/* #undef DEBUG */
#define DEBUG
#undef DBG
extern int ws_debug_level;
#ifdef DEBUG
extern int ws_debug_level;
# define DBG(lvl, f) { if ((lvl) <= ws_debug_level) f;}
#else
# define DBG(lvl, f)