Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode.
authorMiguel Gómez <magomez@igalia.com>
Mon, 18 Jun 2012 11:12:02 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jun 2012 00:20:20 +0000 (17:20 -0700)
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>
drivers/staging/xgifb/XGI_main_26.c

index 9ffc85377c607aff8277e437bbae5fc4f0326b0b..a45a497115edb7d17873f318b41225562993e0b9 100644 (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;