From: Miguel Gómez Date: Mon, 18 Jun 2012 11:12:02 +0000 (+0200) Subject: Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96cd1f8b41c36c2520cc8b524734784a9e995ff2;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 9ffc85377c60..a45a497115ed 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -30,9 +30,7 @@ static unsigned int refresh_rate; /* -------------------- Macro definitions ---------------------------- */ -#undef XGIFBDEBUG - -#ifdef XGIFBDEBUG +#ifdef DEBUG static void dumpVGAReg(void) { u8 i, reg;