[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>
This commit is contained in:
committed by
Linus Torvalds
parent
886cca3a0f
commit
3e206b0a66
@ -273,7 +273,7 @@ isdn_tty_rcv_skb(int i, int di, int channel, struct sk_buff *skb)
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
isdn_tty_cleanup_xmit(modem_info * info)
|
||||
{
|
||||
skb_queue_purge(&info->xmit_queue);
|
||||
@ -560,7 +560,7 @@ isdn_tty_modem_ncarrier(modem_info * info)
|
||||
/*
|
||||
* return the usage calculated by si and layer 2 protocol
|
||||
*/
|
||||
int
|
||||
static int
|
||||
isdn_calc_usage(int si, int l2)
|
||||
{
|
||||
int usg = ISDN_USAGE_MODEM;
|
||||
|
Reference in New Issue
Block a user