summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-06 09:19:42 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-06-06 09:19:42 -0500
commite899adeac9f987223316afdf69ad0a3ebd718a3e (patch)
treedf4d1e7adece8c44d3339036301aaac68444b1b0
parent152d188b76651412f3c4572cb8baf987db4ed14e (diff)
ISDN/CAPI: Remove some left-over from the capi_driver removal
-rw-r--r--drivers/isdn/hysdn/hycapi.c8
-rw-r--r--drivers/isdn/hysdn/hysdn_defs.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/drivers/isdn/hysdn/hycapi.c b/drivers/isdn/hysdn/hycapi.c
index 6033e5515322..0c828f7c9b49 100644
--- a/drivers/isdn/hysdn/hycapi.c
+++ b/drivers/isdn/hysdn/hycapi.c
@@ -82,10 +82,6 @@ hycapi_remove_ctr(struct capi_ctr *ctrl)
#ifdef HYCAPI_PRINTFNAMES
printk(KERN_NOTICE "HYCAPI hycapi_remove_ctr\n");
#endif
- if(!hy_di) {
- printk(KERN_ERR "No capi_driver_interface set!");
- return;
- }
cinfo = (hycapictrl_info *)(ctrl->driverdata);
if(!cinfo) {
printk(KERN_ERR "No hycapictrl_info set!");
@@ -686,10 +682,6 @@ attach the capi-driver to the kernel-capi.
int hycapi_init()
{
int i;
- if(hy_di) {
- printk(KERN_NOTICE "HyDI allready set\n");
- return 0;
- }
for(i=0;i<CAPI_MAXAPPL;i++) {
memset(&(hycapi_applications[i]), 0, sizeof(hycapi_appl));
}
diff --git a/drivers/isdn/hysdn/hysdn_defs.h b/drivers/isdn/hysdn/hysdn_defs.h
index bc7dafef5b8a..0db4a0294379 100644
--- a/drivers/isdn/hysdn/hysdn_defs.h
+++ b/drivers/isdn/hysdn/hysdn_defs.h
@@ -276,7 +276,6 @@ extern void hysdn_rx_netpkt(hysdn_card *, uchar *, word); /* rxed packet from ne
#ifdef CONFIG_HYSDN_CAPI
extern unsigned int hycapi_enable;
-extern struct capi_driver_interface *hy_di;
extern int hycapi_capi_create(hysdn_card *); /* create a new capi device */
extern int hycapi_capi_release(hysdn_card *); /* delete the device */
extern int hycapi_capi_stop(hysdn_card *card); /* suspend */