Skip to content

Commit a22eb6f

Browse files
Leonardo Potenzadavem330
authored andcommitted
[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 <lpotenza@inwind.it> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent eac55bf commit a22eb6f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/atm/iphase.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,7 @@ static void ia_suni_pm7345_init (IADEV *iadev)
958958

959959
/***************************** IA_LIB END *****************************/
960960

961+
#ifdef CONFIG_ATM_IA_DEBUG
961962
static int tcnter = 0;
962963
static void xdump( u_char* cp, int length, char* prefix )
963964
{
@@ -992,6 +993,7 @@ static void xdump( u_char* cp, int length, char* prefix )
992993
}
993994

994995
} /* close xdump(... */
996+
#endif /* CONFIG_ATM_IA_DEBUG */
995997

996998

997999
static struct atm_dev *ia_boards = NULL;

0 commit comments

Comments
 (0)