[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:

gecommit door
Linus Torvalds

bovenliggende
8b3d4a2a3e
commit
672c3fd906
@@ -97,7 +97,7 @@ static WORD initAMD[] = {
|
||||
};
|
||||
|
||||
|
||||
void /* macro wWordAMD */
|
||||
static void /* macro wWordAMD */
|
||||
WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val)
|
||||
{
|
||||
wByteAMD(cs, 0x00, reg);
|
||||
@@ -105,7 +105,7 @@ WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val)
|
||||
wByteAMD(cs, 0x01, HIBYTE(val));
|
||||
}
|
||||
|
||||
WORD /* macro rWordAMD */
|
||||
static WORD /* macro rWordAMD */
|
||||
ReadWordAmd7930(struct IsdnCardState *cs, BYTE reg)
|
||||
{
|
||||
WORD res;
|
||||
@@ -665,7 +665,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
static void
|
||||
setstack_Amd7930(struct PStack *st, struct IsdnCardState *cs)
|
||||
{
|
||||
|
||||
@@ -676,7 +676,7 @@ setstack_Amd7930(struct PStack *st, struct IsdnCardState *cs)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
DC_Close_Amd7930(struct IsdnCardState *cs) {
|
||||
if (cs->debug & L1_DEB_ISAC)
|
||||
debugl1(cs, "Amd7930: DC_Close called");
|
||||
|
Verwijs in nieuw issue
Block a user