drivers/atm/iphase.c: compilation warning fix
Subsystems (2)
PATCH 1/1 drivers/atm/iphase.c: compilation warning fix
From: Leonardo Potenza <[email protected]>
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 Leonardo Potenza <[email protected]>
---
iphase.c | 2 ++
1 file changed, 2 insertions(+)
drivers/atm/iphase.c +2 -0
@@ -958,6 +958,7 @@ static void ia_suni_pm7345_init (IADEV */***************************** IA_LIB END *****************************/ +#ifdef CONFIG_ATM_IA_DEBUG static int tcnter =0 ;static void xdump (u_char * cp,int length,char * prefix ) {
@@ -992,6 +993,7 @@ static void xdump( u_char* cp, int len } }/* close xdump(... */ +#endif /* CONFIG_ATM_IA_DEBUG */ static struct atm_dev *ia_boards =NULL ;
David Miller
AppliedFrom: Leonardo Potenza <[email protected]>
Date: Tue, 1 Apr 2008 23:49:29 +0200
Quoted 9 lines
From: Leonardo Potenza <[email protected]>
Removed the warning messages:
drivers/atm/iphase.c:961: warning: 'tcnter' defined but not useddrivers/atm/iphase.c:963: warning: 'xdump' defined but not usedtcnter and
xdump()are used only in debug buildSigned-off-by Leonardo Potenza <[email protected]>
Applied, thanks.