diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:58:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:56 -0400 |
commit | 3e206b0a66fcaf39dbef92640ce6a63d51fc5c53 (patch) | |
tree | 27e2941e1339be892b824434c24af518efd52294 /drivers/isdn/i4l/isdn_common.c | |
parent | 886cca3a0fda659e17c730c20929134014ebe1f2 (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_common.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_common.c b/drivers/isdn/i4l/isdn_common.c index c406df6f268a..eebcb0b97f0e 100644 --- a/drivers/isdn/i4l/isdn_common.c +++ b/drivers/isdn/i4l/isdn_common.c | |||
@@ -67,7 +67,7 @@ static isdn_divert_if *divert_if; /* = NULL */ | |||
67 | static int isdn_writebuf_stub(int, int, const u_char __user *, int); | 67 | static int isdn_writebuf_stub(int, int, const u_char __user *, int); |
68 | static void set_global_features(void); | 68 | static void set_global_features(void); |
69 | static int isdn_wildmat(char *s, char *p); | 69 | static int isdn_wildmat(char *s, char *p); |
70 | 70 | static int isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding); | |
71 | 71 | ||
72 | static inline void | 72 | static inline void |
73 | isdn_lock_driver(isdn_driver_t *drv) | 73 | isdn_lock_driver(isdn_driver_t *drv) |
@@ -388,7 +388,7 @@ isdn_all_eaz(int di, int ch) | |||
388 | */ | 388 | */ |
389 | #include <linux/isdn/capicmd.h> | 389 | #include <linux/isdn/capicmd.h> |
390 | 390 | ||
391 | int | 391 | static int |
392 | isdn_capi_rec_hl_msg(capi_msg *cm) { | 392 | isdn_capi_rec_hl_msg(capi_msg *cm) { |
393 | 393 | ||
394 | int di; | 394 | int di; |
@@ -1923,7 +1923,7 @@ isdn_writebuf_skb_stub(int drvidx, int chan, int ack, struct sk_buff *skb) | |||
1923 | return ret; | 1923 | return ret; |
1924 | } | 1924 | } |
1925 | 1925 | ||
1926 | int | 1926 | static int |
1927 | isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding) | 1927 | isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding) |
1928 | { | 1928 | { |
1929 | int j, k, m; | 1929 | int j, k, m; |