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_usb.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_usb.c')
-rw-r--r-- | drivers/isdn/hisax/hfc_usb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/hfc_usb.c b/drivers/isdn/hisax/hfc_usb.c index ffd74b84f502..e2c3af49d72b 100644 --- a/drivers/isdn/hisax/hfc_usb.c +++ b/drivers/isdn/hisax/hfc_usb.c | |||
@@ -60,7 +60,7 @@ static const char *hfcusb_revision = | |||
60 | #include "hisax_debug.h" | 60 | #include "hisax_debug.h" |
61 | static u_int debug; | 61 | static u_int debug; |
62 | module_param(debug, uint, 0); | 62 | module_param(debug, uint, 0); |
63 | int hfc_debug; | 63 | static int hfc_debug; |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | 66 | ||
@@ -85,7 +85,7 @@ static struct usb_device_id hfc_usb_idtab[] = { | |||
85 | * VendorID, ProductID, Devicename, LED_SCHEME, | 85 | * VendorID, ProductID, Devicename, LED_SCHEME, |
86 | * LED's BitMask in HFCUSB_P_DATA Register : LED_USB, LED_S0, LED_B1, LED_B2 | 86 | * LED's BitMask in HFCUSB_P_DATA Register : LED_USB, LED_S0, LED_B1, LED_B2 |
87 | */ | 87 | */ |
88 | vendor_data vdata[] = { | 88 | static vendor_data vdata[] = { |
89 | /* CologneChip Eval TA */ | 89 | /* CologneChip Eval TA */ |
90 | {0x0959, 0x2bd0, "ISDN USB TA (Cologne Chip HFC-S USB based)", | 90 | {0x0959, 0x2bd0, "ISDN USB TA (Cologne Chip HFC-S USB based)", |
91 | LED_OFF, {4, 0, 2, 1} | 91 | LED_OFF, {4, 0, 2, 1} |
@@ -1137,7 +1137,7 @@ set_hfcmode(hfcusb_data * hfc, int channel, int mode) | |||
1137 | } | 1137 | } |
1138 | } | 1138 | } |
1139 | 1139 | ||
1140 | void | 1140 | static void |
1141 | hfc_usb_l2l1(struct hisax_if *my_hisax_if, int pr, void *arg) | 1141 | hfc_usb_l2l1(struct hisax_if *my_hisax_if, int pr, void *arg) |
1142 | { | 1142 | { |
1143 | usb_fifo *fifo = my_hisax_if->priv; | 1143 | usb_fifo *fifo = my_hisax_if->priv; |