[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>
This commit is contained in:

committed by
Linus Torvalds

parent
886cca3a0f
commit
3e206b0a66
@@ -67,7 +67,7 @@ static isdn_divert_if *divert_if; /* = NULL */
|
||||
static int isdn_writebuf_stub(int, int, const u_char __user *, int);
|
||||
static void set_global_features(void);
|
||||
static int isdn_wildmat(char *s, char *p);
|
||||
|
||||
static int isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding);
|
||||
|
||||
static inline void
|
||||
isdn_lock_driver(isdn_driver_t *drv)
|
||||
@@ -388,7 +388,7 @@ isdn_all_eaz(int di, int ch)
|
||||
*/
|
||||
#include <linux/isdn/capicmd.h>
|
||||
|
||||
int
|
||||
static int
|
||||
isdn_capi_rec_hl_msg(capi_msg *cm) {
|
||||
|
||||
int di;
|
||||
@@ -1923,7 +1923,7 @@ isdn_writebuf_skb_stub(int drvidx, int chan, int ack, struct sk_buff *skb)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
isdn_add_channels(isdn_driver_t *d, int drvidx, int n, int adding)
|
||||
{
|
||||
int j, k, m;
|
||||
|
Reference in New Issue
Block a user