[PATCH] drivers/isdn/hisax/: possible cleanups
This patch contains the following possible cleanups: - make needlessly global code static - remove the compiled but unused st5481_hdlc.{c,h} - kill enternow.h - enternow_pci.c: kill InByte/OutByte/BYTE - isdnl2.c: kill FreeSkb - remove or #if 0 the following unused functions: - config.c: IsdnCardState - ipacx.c: ipacx_new_ph - ipacx.c: dch_bh - ipacx.c: setup_ipacx - isdnl2.c: IsRR Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Kai Germaschewski <kai@germaschewski.name> 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
8b3d4a2a3e
commit
672c3fd906
@@ -874,7 +874,7 @@ release_b_st(struct Channel *chanp)
|
||||
}
|
||||
}
|
||||
|
||||
struct Channel
|
||||
static struct Channel
|
||||
*selectfreechannel(struct PStack *st, int bch)
|
||||
{
|
||||
struct IsdnCardState *cs = st->l1.hardware;
|
||||
@@ -1429,7 +1429,7 @@ capi_debug(struct Channel *chanp, capi_msg *cm)
|
||||
HiSax_putstatus(chanp->cs, "Ch", "%d CAPIMSG %s", chanp->chan, tmpbuf);
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
lli_got_fac_req(struct Channel *chanp, capi_msg *cm) {
|
||||
if ((cm->para[0] != 3) || (cm->para[1] != 0))
|
||||
return;
|
||||
@@ -1454,7 +1454,7 @@ lli_got_fac_req(struct Channel *chanp, capi_msg *cm) {
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
lli_got_manufacturer(struct Channel *chanp, struct IsdnCardState *cs, capi_msg *cm) {
|
||||
if ((cs->typ == ISDN_CTYPE_ELSA) || (cs->typ == ISDN_CTYPE_ELSA_PNP) ||
|
||||
(cs->typ == ISDN_CTYPE_ELSA_PCI)) {
|
||||
|
Reference in New Issue
Block a user