[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:
committed by
Linus Torvalds
parent
e3ca5e762c
commit
886cca3a0f
@@ -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
|
||||
|
Reference in New Issue
Block a user