Skip to content

Commit

Permalink
Staging: xgifb: define real dumpVGAReg() content only in DEBUG mode.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Miguel Gómez authored and Greg Kroah-Hartman committed Jun 19, 2012
1 parent d56b4c3 commit 96cd1f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ static unsigned int refresh_rate;

/* -------------------- Macro definitions ---------------------------- */

#undef XGIFBDEBUG

#ifdef XGIFBDEBUG
#ifdef DEBUG
static void dumpVGAReg(void)
{
u8 i, reg;
Expand Down

0 comments on commit 96cd1f8

Please sign in to comment.