From: Leonardo Potenza Date: Wed, 2 Apr 2008 07:03:00 +0000 (-0700) Subject: [ATM] drivers/atm/iphase.c: compilation warning fix X-Git-Tag: v2.6.25-rc9~99^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a22eb6faae4ec64d59cc206671eb0bfe46c5ffd2;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [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: Leonardo Potenza Signed-off-by: David S. Miller --- diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index ef52452..670c093 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c @@ -958,6 +958,7 @@ static void ia_suni_pm7345_init (IADEV *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 length, char* prefix ) } } /* close xdump(... */ +#endif /* CONFIG_ATM_IA_DEBUG */ static struct atm_dev *ia_boards = NULL;