提交 96cd1f8b 编写于 作者: M Miguel Gómez 提交者: Greg Kroah-Hartman

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: NMiguel Gómez <magomez@igalia.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 d56b4c3d
...@@ -30,9 +30,7 @@ static unsigned int refresh_rate; ...@@ -30,9 +30,7 @@ static unsigned int refresh_rate;
/* -------------------- Macro definitions ---------------------------- */ /* -------------------- Macro definitions ---------------------------- */
#undef XGIFBDEBUG #ifdef DEBUG
#ifdef XGIFBDEBUG
static void dumpVGAReg(void) static void dumpVGAReg(void)
{ {
u8 i, reg; u8 i, reg;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册