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/hfc_pci.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/hfc_pci.c')
-rw-r--r-- | drivers/isdn/hisax/hfc_pci.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index c2db52696a86..8337b0f26cc4 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c | |||
@@ -70,7 +70,7 @@ static const PCI_ENTRY id_list[] = | |||
70 | /******************************************/ | 70 | /******************************************/ |
71 | /* free hardware resources used by driver */ | 71 | /* free hardware resources used by driver */ |
72 | /******************************************/ | 72 | /******************************************/ |
73 | void | 73 | static void |
74 | release_io_hfcpci(struct IsdnCardState *cs) | 74 | release_io_hfcpci(struct IsdnCardState *cs) |
75 | { | 75 | { |
76 | printk(KERN_INFO "HiSax: release hfcpci at %p\n", | 76 | printk(KERN_INFO "HiSax: release hfcpci at %p\n", |
@@ -394,7 +394,7 @@ receive_dmsg(struct IsdnCardState *cs) | |||
394 | /*******************************************************************************/ | 394 | /*******************************************************************************/ |
395 | /* check for transparent receive data and read max one threshold size if avail */ | 395 | /* check for transparent receive data and read max one threshold size if avail */ |
396 | /*******************************************************************************/ | 396 | /*******************************************************************************/ |
397 | int | 397 | static int |
398 | hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) | 398 | hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) |
399 | { | 399 | { |
400 | unsigned short *z1r, *z2r; | 400 | unsigned short *z1r, *z2r; |
@@ -446,7 +446,7 @@ hfcpci_empty_fifo_trans(struct BCState *bcs, bzfifo_type * bz, u_char * bdata) | |||
446 | /**********************************/ | 446 | /**********************************/ |
447 | /* B-channel main receive routine */ | 447 | /* B-channel main receive routine */ |
448 | /**********************************/ | 448 | /**********************************/ |
449 | void | 449 | static void |
450 | main_rec_hfcpci(struct BCState *bcs) | 450 | main_rec_hfcpci(struct BCState *bcs) |
451 | { | 451 | { |
452 | struct IsdnCardState *cs = bcs->cs; | 452 | struct IsdnCardState *cs = bcs->cs; |
@@ -1244,7 +1244,7 @@ HFCPCI_l1hw(struct PStack *st, int pr, void *arg) | |||
1244 | /***********************************************/ | 1244 | /***********************************************/ |
1245 | /* called during init setting l1 stack pointer */ | 1245 | /* called during init setting l1 stack pointer */ |
1246 | /***********************************************/ | 1246 | /***********************************************/ |
1247 | void | 1247 | static void |
1248 | setstack_hfcpci(struct PStack *st, struct IsdnCardState *cs) | 1248 | setstack_hfcpci(struct PStack *st, struct IsdnCardState *cs) |
1249 | { | 1249 | { |
1250 | st->l1.l1hw = HFCPCI_l1hw; | 1250 | st->l1.l1hw = HFCPCI_l1hw; |
@@ -1268,7 +1268,7 @@ hfcpci_send_data(struct BCState *bcs) | |||
1268 | /***************************************************************/ | 1268 | /***************************************************************/ |
1269 | /* activate/deactivate hardware for selected channels and mode */ | 1269 | /* activate/deactivate hardware for selected channels and mode */ |
1270 | /***************************************************************/ | 1270 | /***************************************************************/ |
1271 | void | 1271 | static void |
1272 | mode_hfcpci(struct BCState *bcs, int mode, int bc) | 1272 | mode_hfcpci(struct BCState *bcs, int mode, int bc) |
1273 | { | 1273 | { |
1274 | struct IsdnCardState *cs = bcs->cs; | 1274 | struct IsdnCardState *cs = bcs->cs; |
@@ -1579,7 +1579,7 @@ hfcpci_bh(struct IsdnCardState *cs) | |||
1579 | /********************************/ | 1579 | /********************************/ |
1580 | /* called for card init message */ | 1580 | /* called for card init message */ |
1581 | /********************************/ | 1581 | /********************************/ |
1582 | void __init | 1582 | static void __init |
1583 | inithfcpci(struct IsdnCardState *cs) | 1583 | inithfcpci(struct IsdnCardState *cs) |
1584 | { | 1584 | { |
1585 | cs->bcs[0].BC_SetStack = setstack_2b; | 1585 | cs->bcs[0].BC_SetStack = setstack_2b; |