diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:58:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:24:56 -0400 |
commit | e3ca5e762c2aca373f1762cbc622ebe20fd20869 (patch) | |
tree | 88e4265d0e12f6b42a23e56355679a87e278f867 /drivers/isdn/sc/ioctl.c | |
parent | 594dd2c98101a5dc279153ec806d554e6b8a1e35 (diff) |
[PATCH] drivers/isdn/sc/: possible cleanups
This patch contains the following possible cleanips:
- make some needlessly global code static
- remove the compiled but completely unused debug.c
- remove or #if 0 the following unused global functions:
- command.c: loopback
- command.c: loadproc
- init.c: irq_supported
- packet.c: print_skb
- shmem.c: memset_shmem
- timer.c: trace_timer
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/sc/ioctl.c')
-rw-r--r-- | drivers/isdn/sc/ioctl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/isdn/sc/ioctl.c b/drivers/isdn/sc/ioctl.c index 1371a990416a..3314a5a19854 100644 --- a/drivers/isdn/sc/ioctl.c +++ b/drivers/isdn/sc/ioctl.c | |||
@@ -14,7 +14,6 @@ | |||
14 | 14 | ||
15 | extern int indicate_status(int, int, unsigned long, char *); | 15 | extern int indicate_status(int, int, unsigned long, char *); |
16 | extern int startproc(int); | 16 | extern int startproc(int); |
17 | extern int loadproc(int, char *record); | ||
18 | extern int reset(int); | 17 | extern int reset(int); |
19 | extern int send_and_receive(int, unsigned int, unsigned char,unsigned char, | 18 | extern int send_and_receive(int, unsigned int, unsigned char,unsigned char, |
20 | unsigned char,unsigned char, | 19 | unsigned char,unsigned char, |
@@ -23,7 +22,7 @@ extern int send_and_receive(int, unsigned int, unsigned char,unsigned char, | |||
23 | extern board *sc_adapter[]; | 22 | extern board *sc_adapter[]; |
24 | 23 | ||
25 | 24 | ||
26 | int GetStatus(int card, boardInfo *); | 25 | static int GetStatus(int card, boardInfo *); |
27 | 26 | ||
28 | /* | 27 | /* |
29 | * Process private IOCTL messages (typically from scctrl) | 28 | * Process private IOCTL messages (typically from scctrl) |
@@ -428,7 +427,7 @@ int sc_ioctl(int card, scs_ioctl *data) | |||
428 | return 0; | 427 | return 0; |
429 | } | 428 | } |
430 | 429 | ||
431 | int GetStatus(int card, boardInfo *bi) | 430 | static int GetStatus(int card, boardInfo *bi) |
432 | { | 431 | { |
433 | RspMessage rcvmsg; | 432 | RspMessage rcvmsg; |
434 | int i, status; | 433 | int i, status; |