[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>
This commit is contained in:
Adrian Bunk
2005-06-25 14:58:35 -07:00
committed by Linus Torvalds
parent e3ca5e762c
commit 886cca3a0f
5 changed files with 8 additions and 39 deletions

View File

@@ -124,23 +124,6 @@ void cb_out_2(struct pcbit_dev * dev, struct pcbit_chan* chan,
}
/*
* Disconnect received (actually RELEASE COMPLETE)
* This means we were not able to establish connection with remote
* Inform the big boss above
*/
void cb_out_3(struct pcbit_dev * dev, struct pcbit_chan* chan,
struct callb_data *data)
{
isdn_ctrl ictl;
ictl.command = ISDN_STAT_DHUP;
ictl.driver=dev->id;
ictl.arg=chan->id;
dev->dev_if->statcallb(&ictl);
}
/*
* Incoming call received
* inform user