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/isac.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/isac.c')
-rw-r--r-- | drivers/isdn/hisax/isac.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index 20b949952952..85e063a08d23 100644 --- a/drivers/isdn/hisax/isac.c +++ b/drivers/isdn/hisax/isac.c | |||
@@ -112,7 +112,7 @@ isac_bh(struct IsdnCardState *cs) | |||
112 | #endif | 112 | #endif |
113 | } | 113 | } |
114 | 114 | ||
115 | void | 115 | static void |
116 | isac_empty_fifo(struct IsdnCardState *cs, int count) | 116 | isac_empty_fifo(struct IsdnCardState *cs, int count) |
117 | { | 117 | { |
118 | u_char *ptr; | 118 | u_char *ptr; |
@@ -563,13 +563,13 @@ ISAC_l1hw(struct PStack *st, int pr, void *arg) | |||
563 | } | 563 | } |
564 | } | 564 | } |
565 | 565 | ||
566 | void | 566 | static void |
567 | setstack_isac(struct PStack *st, struct IsdnCardState *cs) | 567 | setstack_isac(struct PStack *st, struct IsdnCardState *cs) |
568 | { | 568 | { |
569 | st->l1.l1hw = ISAC_l1hw; | 569 | st->l1.l1hw = ISAC_l1hw; |
570 | } | 570 | } |
571 | 571 | ||
572 | void | 572 | static void |
573 | DC_Close_isac(struct IsdnCardState *cs) { | 573 | DC_Close_isac(struct IsdnCardState *cs) { |
574 | if (cs->dc.isac.mon_rx) { | 574 | if (cs->dc.isac.mon_rx) { |
575 | kfree(cs->dc.isac.mon_rx); | 575 | kfree(cs->dc.isac.mon_rx); |