diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 23:58:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-26 01:24:56 +0200 |
commit | 3e206b0a66fcaf39dbef92640ce6a63d51fc5c53 (patch) | |
tree | 27e2941e1339be892b824434c24af518efd52294 /drivers/isdn/i4l/isdn_audio.c | |
parent | [PATCH] drivers/isdn/pcbit/: possible cleanups (diff) | |
download | linux-3e206b0a66fcaf39dbef92640ce6a63d51fc5c53.tar.xz linux-3e206b0a66fcaf39dbef92640ce6a63d51fc5c53.zip |
[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_audio.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_audio.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/isdn/i4l/isdn_audio.c b/drivers/isdn/i4l/isdn_audio.c index 5350836a4f98..2cc56d6a9fae 100644 --- a/drivers/isdn/i4l/isdn_audio.c +++ b/drivers/isdn/i4l/isdn_audio.c @@ -392,16 +392,6 @@ isdn_audio_adpcm2xlaw(adpcm_state * s, int fmt, unsigned char *in, } int -isdn_audio_2adpcm_flush(adpcm_state * s, unsigned char *out) -{ - int olen = 0; - - if (s->nleft) - isdn_audio_put_bits(0, 8 - s->nleft, s, &out, &olen); - return olen; -} - -int isdn_audio_xlaw2adpcm(adpcm_state * s, int fmt, unsigned char *in, unsigned char *out, int len) { |