提交 a22eb6fa 编写于 作者: L Leonardo Potenza 提交者: David S. Miller

[ATM] drivers/atm/iphase.c: compilation warning fix

Removed the warning messages:
drivers/atm/iphase.c:961: warning: 'tcnter' defined but not used
drivers/atm/iphase.c:963: warning: 'xdump' defined but not used

tcnter and xdump() are used only in debug build
Signed-off-by: NLeonardo Potenza <lpotenza@inwind.it>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 eac55bf9
...@@ -958,6 +958,7 @@ static void ia_suni_pm7345_init (IADEV *iadev) ...@@ -958,6 +958,7 @@ static void ia_suni_pm7345_init (IADEV *iadev)
/***************************** IA_LIB END *****************************/ /***************************** IA_LIB END *****************************/
#ifdef CONFIG_ATM_IA_DEBUG
static int tcnter = 0; static int tcnter = 0;
static void xdump( u_char* cp, int length, char* prefix ) static void xdump( u_char* cp, int length, char* prefix )
{ {
...@@ -992,6 +993,7 @@ static void xdump( u_char* cp, int length, char* prefix ) ...@@ -992,6 +993,7 @@ static void xdump( u_char* cp, int length, char* prefix )
} }
} /* close xdump(... */ } /* close xdump(... */
#endif /* CONFIG_ATM_IA_DEBUG */
static struct atm_dev *ia_boards = NULL; static struct atm_dev *ia_boards = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册