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_ttyfax.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_ttyfax.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_ttyfax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/i4l/isdn_ttyfax.c b/drivers/isdn/i4l/isdn_ttyfax.c index ce2c3ef92e46..a943d078bacc 100644 --- a/drivers/isdn/i4l/isdn_ttyfax.c +++ b/drivers/isdn/i4l/isdn_ttyfax.c | |||
@@ -148,7 +148,7 @@ isdn_tty_fax_modem_result(int code, modem_info * info) | |||
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | int | 151 | static int |
152 | isdn_tty_fax_command1(modem_info * info, isdn_ctrl * c) | 152 | isdn_tty_fax_command1(modem_info * info, isdn_ctrl * c) |
153 | { | 153 | { |
154 | static char *msg[] = | 154 | static char *msg[] = |
@@ -316,7 +316,7 @@ isdn_tty_fax_bitorder(modem_info * info, struct sk_buff *skb) | |||
316 | * Parse AT+F.. FAX class 1 commands | 316 | * Parse AT+F.. FAX class 1 commands |
317 | */ | 317 | */ |
318 | 318 | ||
319 | int | 319 | static int |
320 | isdn_tty_cmd_FCLASS1(char **p, modem_info * info) | 320 | isdn_tty_cmd_FCLASS1(char **p, modem_info * info) |
321 | { | 321 | { |
322 | static char *cmd[] = | 322 | static char *cmd[] = |
@@ -408,7 +408,7 @@ isdn_tty_cmd_FCLASS1(char **p, modem_info * info) | |||
408 | * Parse AT+F.. FAX class 2 commands | 408 | * Parse AT+F.. FAX class 2 commands |
409 | */ | 409 | */ |
410 | 410 | ||
411 | int | 411 | static int |
412 | isdn_tty_cmd_FCLASS2(char **p, modem_info * info) | 412 | isdn_tty_cmd_FCLASS2(char **p, modem_info * info) |
413 | { | 413 | { |
414 | atemu *m = &info->emu; | 414 | atemu *m = &info->emu; |