Skip to content

Commit

Permalink
[ATM] drivers/atm/iphase.c: compilation warning fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Leonardo Potenza authored and David S. Miller committed Apr 2, 2008
1 parent eac55bf commit a22eb6f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/atm/iphase.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a22eb6f

Please sign in to comment.