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 | 886cca3a0fda659e17c730c20929134014ebe1f2 (patch) | |
tree | a8298141cf028de3e3fc54fc2d5dc5a933eac28b /drivers/isdn/pcbit/drv.c | |
parent | e3ca5e762c2aca373f1762cbc622ebe20fd20869 (diff) |
[PATCH] drivers/isdn/pcbit/: possible cleanups
This patch contains the following possible cleanups:
- make some needlessly global functions static
- remove the following unused global functions:
- callbacks.c: cb_out_3
- capi.c: capi_decode_disc_conf
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/pcbit/drv.c')
-rw-r--r-- | drivers/isdn/pcbit/drv.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/isdn/pcbit/drv.c b/drivers/isdn/pcbit/drv.c index e98f9c48c184..5de861f40816 100644 --- a/drivers/isdn/pcbit/drv.c +++ b/drivers/isdn/pcbit/drv.c | |||
@@ -56,10 +56,10 @@ static char* pcbit_devname[MAX_PCBIT_CARDS] = { | |||
56 | * prototypes | 56 | * prototypes |
57 | */ | 57 | */ |
58 | 58 | ||
59 | int pcbit_command(isdn_ctrl* ctl); | 59 | static int pcbit_command(isdn_ctrl* ctl); |
60 | int pcbit_stat(u_char __user * buf, int len, int, int); | 60 | static int pcbit_stat(u_char __user * buf, int len, int, int); |
61 | int pcbit_xmit(int driver, int chan, int ack, struct sk_buff *skb); | 61 | static int pcbit_xmit(int driver, int chan, int ack, struct sk_buff *skb); |
62 | int pcbit_writecmd(const u_char __user *, int, int, int); | 62 | static int pcbit_writecmd(const u_char __user *, int, int, int); |
63 | 63 | ||
64 | static int set_protocol_running(struct pcbit_dev * dev); | 64 | static int set_protocol_running(struct pcbit_dev * dev); |
65 | 65 | ||
@@ -238,7 +238,7 @@ void pcbit_terminate(int board) | |||
238 | } | 238 | } |
239 | #endif | 239 | #endif |
240 | 240 | ||
241 | int pcbit_command(isdn_ctrl* ctl) | 241 | static int pcbit_command(isdn_ctrl* ctl) |
242 | { | 242 | { |
243 | struct pcbit_dev *dev; | 243 | struct pcbit_dev *dev; |
244 | struct pcbit_chan *chan; | 244 | struct pcbit_chan *chan; |
@@ -330,7 +330,7 @@ static void pcbit_block_timer(unsigned long data) | |||
330 | } | 330 | } |
331 | #endif | 331 | #endif |
332 | 332 | ||
333 | int pcbit_xmit(int driver, int chnum, int ack, struct sk_buff *skb) | 333 | static int pcbit_xmit(int driver, int chnum, int ack, struct sk_buff *skb) |
334 | { | 334 | { |
335 | ushort hdrlen; | 335 | ushort hdrlen; |
336 | int refnum, len; | 336 | int refnum, len; |
@@ -389,7 +389,7 @@ int pcbit_xmit(int driver, int chnum, int ack, struct sk_buff *skb) | |||
389 | return len; | 389 | return len; |
390 | } | 390 | } |
391 | 391 | ||
392 | int pcbit_writecmd(const u_char __user *buf, int len, int driver, int channel) | 392 | static int pcbit_writecmd(const u_char __user *buf, int len, int driver, int channel) |
393 | { | 393 | { |
394 | struct pcbit_dev * dev; | 394 | struct pcbit_dev * dev; |
395 | int i, j; | 395 | int i, j; |
@@ -713,7 +713,7 @@ static char statbuf[STATBUF_LEN]; | |||
713 | static int stat_st = 0; | 713 | static int stat_st = 0; |
714 | static int stat_end = 0; | 714 | static int stat_end = 0; |
715 | 715 | ||
716 | int pcbit_stat(u_char __user *buf, int len, int driver, int channel) | 716 | static int pcbit_stat(u_char __user *buf, int len, int driver, int channel) |
717 | { | 717 | { |
718 | int stat_count; | 718 | int stat_count; |
719 | stat_count = stat_end - stat_st; | 719 | stat_count = stat_end - stat_st; |