diff options
author | Miguel Gómez <magomez@igalia.com> | 2012-06-18 13:12:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-18 17:20:20 -0700 |
commit | 96cd1f8b41c36c2520cc8b524734784a9e995ff2 (patch) | |
tree | 883e6fcbf1dbe51215bf979e09df3d0064656e17 /drivers/staging/xgifb/XGI_main_26.c | |
parent | Staging: xgifb: remove DPRINTK() macro and replace it with pr_debug. (diff) | |
download | linux-dev-96cd1f8b41c36c2520cc8b524734784a9e995ff2.tar.xz linux-dev-96cd1f8b41c36c2520cc8b524734784a9e995ff2.zip |
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>
Diffstat (limited to 'drivers/staging/xgifb/XGI_main_26.c')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |