]> git.neil.brown.name Git - history.git/commitdiff
ISDN/CAPI: Remove some left-over from the capi_driver removal
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Thu, 6 Jun 2002 14:19:42 +0000 (09:19 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Thu, 6 Jun 2002 14:19:42 +0000 (09:19 -0500)
drivers/isdn/hysdn/hycapi.c
drivers/isdn/hysdn/hysdn_defs.h

index 6033e5515322493a753fa5234cad6a26f94a77bd..0c828f7c9b49478c1be0d3c9d447cee8c8783353 100644 (file)
@@ -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));
        }
index bc7dafef5b8a838891629e1e7af532611e1a73e0..0db4a02943792258b187d3bf0327eb8a43797a61 100644 (file)
@@ -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 */