Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode.

Define real content of dumpVGAReg() only in debug mode. Remove old condition.

Signed-off-by: Miguel Gómez <magomez@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Miguel Gómez
2012-06-18 13:12:02 +02:00
committed by Greg Kroah-Hartman
parent d56b4c3dff
commit 96cd1f8b41

View File

@@ -30,9 +30,7 @@ static unsigned int refresh_rate;
/* -------------------- Macro definitions ---------------------------- */
#undef XGIFBDEBUG
#ifdef XGIFBDEBUG
#ifdef DEBUG
static void dumpVGAReg(void)
{
u8 i, reg;