diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:59:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:25:07 -0400 |
commit | 672c3fd9069e5a138f9d4afc9aeb5aa34aacce32 (patch) | |
tree | eed95f7e577680c4a92e7f22b22b221b53934fd1 /drivers/isdn/hisax/amd7930_fn.c | |
parent | 8b3d4a2a3ef9488d4477e8823106abfd6039eb66 (diff) |
[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>
Diffstat (limited to 'drivers/isdn/hisax/amd7930_fn.c')
-rw-r--r-- | drivers/isdn/hisax/amd7930_fn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index c4f861a5db25..8ae08c41c853 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c | |||
@@ -97,7 +97,7 @@ static WORD initAMD[] = { | |||
97 | }; | 97 | }; |
98 | 98 | ||
99 | 99 | ||
100 | void /* macro wWordAMD */ | 100 | static void /* macro wWordAMD */ |
101 | WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val) | 101 | WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val) |
102 | { | 102 | { |
103 | wByteAMD(cs, 0x00, reg); | 103 | wByteAMD(cs, 0x00, reg); |
@@ -105,7 +105,7 @@ WriteWordAmd7930(struct IsdnCardState *cs, BYTE reg, WORD val) | |||
105 | wByteAMD(cs, 0x01, HIBYTE(val)); | 105 | wByteAMD(cs, 0x01, HIBYTE(val)); |
106 | } | 106 | } |
107 | 107 | ||
108 | WORD /* macro rWordAMD */ | 108 | static WORD /* macro rWordAMD */ |
109 | ReadWordAmd7930(struct IsdnCardState *cs, BYTE reg) | 109 | ReadWordAmd7930(struct IsdnCardState *cs, BYTE reg) |
110 | { | 110 | { |
111 | WORD res; | 111 | WORD res; |
@@ -665,7 +665,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg) | |||
665 | } | 665 | } |
666 | } | 666 | } |
667 | 667 | ||
668 | void | 668 | static void |
669 | setstack_Amd7930(struct PStack *st, struct IsdnCardState *cs) | 669 | setstack_Amd7930(struct PStack *st, struct IsdnCardState *cs) |
670 | { | 670 | { |
671 | 671 | ||
@@ -676,7 +676,7 @@ setstack_Amd7930(struct PStack *st, struct IsdnCardState *cs) | |||
676 | } | 676 | } |
677 | 677 | ||
678 | 678 | ||
679 | void | 679 | static void |
680 | DC_Close_Amd7930(struct IsdnCardState *cs) { | 680 | DC_Close_Amd7930(struct IsdnCardState *cs) { |
681 | if (cs->debug & L1_DEB_ISAC) | 681 | if (cs->debug & L1_DEB_ISAC) |
682 | debugl1(cs, "Amd7930: DC_Close called"); | 682 | debugl1(cs, "Amd7930: DC_Close called"); |