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-Tag: v3.6-rc1~100^2~717 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96cd1f8b41c36c2520cc8b524734784a9e995ff2;p=platform%2Fkernel%2Flinux-3.10.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 9ffc853..a45a497 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;