aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l/isdn_tty.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-06-25 17:58:35 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-25 19:24:56 -0400
commit3e206b0a66fcaf39dbef92640ce6a63d51fc5c53 (patch)
tree27e2941e1339be892b824434c24af518efd52294 /drivers/isdn/i4l/isdn_tty.c
parent886cca3a0fda659e17c730c20929134014ebe1f2 (diff)
[PATCH] drivers/isdn/i4l/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global code static - remove the following unused global function: - isdn_audio.c: isdn_audio_2adpcm_flush - remove the following unused struct: - isdn_net.c: isdn_concap_demand_dial_dops Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/i4l/isdn_tty.c')
-rw-r--r--drivers/isdn/i4l/isdn_tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c
index e21007eca0f0..ad5aa38fb5a6 100644
--- a/drivers/isdn/i4l/isdn_tty.c
+++ b/drivers/isdn/i4l/isdn_tty.c
@@ -273,7 +273,7 @@ isdn_tty_rcv_skb(int i, int di, int channel, struct sk_buff *skb)
273 return 1; 273 return 1;
274} 274}
275 275
276void 276static void
277isdn_tty_cleanup_xmit(modem_info * info) 277isdn_tty_cleanup_xmit(modem_info * info)
278{ 278{
279 skb_queue_purge(&info->xmit_queue); 279 skb_queue_purge(&info->xmit_queue);
@@ -560,7 +560,7 @@ isdn_tty_modem_ncarrier(modem_info * info)
560/* 560/*
561 * return the usage calculated by si and layer 2 protocol 561 * return the usage calculated by si and layer 2 protocol
562 */ 562 */
563int 563static int
564isdn_calc_usage(int si, int l2) 564isdn_calc_usage(int si, int l2)
565{ 565{
566 int usg = ISDN_USAGE_MODEM; 566 int usg = ISDN_USAGE_MODEM;