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/hisax.h | |
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/hisax.h')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index dc5791728d53..17cf7663c582 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h | |||
@@ -1271,7 +1271,6 @@ extern void Logl2Frame(struct IsdnCardState *cs, struct sk_buff *skb, char *buf, | |||
1271 | void init_bcstate(struct IsdnCardState *cs, int bc); | 1271 | void init_bcstate(struct IsdnCardState *cs, int bc); |
1272 | 1272 | ||
1273 | void setstack_HiSax(struct PStack *st, struct IsdnCardState *cs); | 1273 | void setstack_HiSax(struct PStack *st, struct IsdnCardState *cs); |
1274 | unsigned int random_ri(void); | ||
1275 | void HiSax_addlist(struct IsdnCardState *sp, struct PStack *st); | 1274 | void HiSax_addlist(struct IsdnCardState *sp, struct PStack *st); |
1276 | void HiSax_rmlist(struct IsdnCardState *sp, struct PStack *st); | 1275 | void HiSax_rmlist(struct IsdnCardState *sp, struct PStack *st); |
1277 | 1276 | ||
@@ -1315,15 +1314,11 @@ int QuickHex(char *txt, u_char * p, int cnt); | |||
1315 | void LogFrame(struct IsdnCardState *cs, u_char * p, int size); | 1314 | void LogFrame(struct IsdnCardState *cs, u_char * p, int size); |
1316 | void dlogframe(struct IsdnCardState *cs, struct sk_buff *skb, int dir); | 1315 | void dlogframe(struct IsdnCardState *cs, struct sk_buff *skb, int dir); |
1317 | void iecpy(u_char * dest, u_char * iestart, int ieoffset); | 1316 | void iecpy(u_char * dest, u_char * iestart, int ieoffset); |
1318 | #ifdef ISDN_CHIP_ISAC | ||
1319 | void setstack_isac(struct PStack *st, struct IsdnCardState *cs); | ||
1320 | #endif /* ISDN_CHIP_ISAC */ | ||
1321 | #endif /* __KERNEL__ */ | 1317 | #endif /* __KERNEL__ */ |
1322 | 1318 | ||
1323 | #define HZDELAY(jiffs) {int tout = jiffs; while (tout--) udelay(1000000/HZ);} | 1319 | #define HZDELAY(jiffs) {int tout = jiffs; while (tout--) udelay(1000000/HZ);} |
1324 | 1320 | ||
1325 | int ll_run(struct IsdnCardState *cs, int addfeatures); | 1321 | int ll_run(struct IsdnCardState *cs, int addfeatures); |
1326 | void ll_stop(struct IsdnCardState *cs); | ||
1327 | int CallcNew(void); | 1322 | int CallcNew(void); |
1328 | void CallcFree(void); | 1323 | void CallcFree(void); |
1329 | int CallcNewChan(struct IsdnCardState *cs); | 1324 | int CallcNewChan(struct IsdnCardState *cs); |