]> git.neil.brown.name Git - history.git/commitdiff
ISDN: Remove ISDN_STAT_L1ERR
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 29 Oct 2002 14:44:07 +0000 (08:44 -0600)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 29 Oct 2002 14:44:07 +0000 (08:44 -0600)
It wasn't used in any actual hardware driver, nor did it cause any
action at all.

drivers/isdn/i4l/isdn_common.c
drivers/isdn/isdnloop/isdnloop.c
include/linux/isdnif.h

index 2dfd2cfd11efc9074d43c9ea8798fdbfa196af4c..157d5f70448ddb4a3cec9f2b4471de926e14e6ce 100644 (file)
@@ -1307,8 +1307,6 @@ isdn_status_callback(isdn_ctrl * c)
                        restore_flags(flags);
                        break;
 #endif
-               case ISDN_STAT_L1ERR:
-                       break;
                case CAPI_PUT_MESSAGE:
                        return(isdn_capi_rec_hl_msg(&c->parm.cmsg));
 #ifdef CONFIG_ISDN_TTY_FAX
index 48752d299e8cadda852634a936dc770d417343a6..267e0e4a527b4860920cdea436176d46927e7017 100644 (file)
@@ -71,9 +71,6 @@ isdnloop_bchan_send(isdnloop_card * card, int ch)
                                printk(KERN_WARNING "isdnloop: no rcard, skb dropped\n");
                                dev_kfree_skb(skb);
 
-                               cmd.command = ISDN_STAT_L1ERR;
-                               cmd.parm.errcode = ISDN_STAT_L1ERR_SEND;
-                               card->interface.statcallb(&cmd); 
                        };
                        cmd.command = ISDN_STAT_BSENT;
                        cmd.parm.length = len;
index b3298c9a66d402db80c4786ac3e6e69ef2cb583b..342dd971b1b6e08f278db0678804ba22bf9659d9 100644 (file)
@@ -208,7 +208,6 @@ typedef struct
 #define ISDN_STAT_REDIR   272    /* Redir result                          */
 #define ISDN_STAT_PROT    273    /* protocol IO specific callback         */
 #define ISDN_STAT_DISPLAY 274    /* deliver a received display message    */
-#define ISDN_STAT_L1ERR   275    /* Signal Layer-1 Error                  */
 #define ISDN_STAT_FAXIND  276    /* FAX indications from HL-driver        */
 #define ISDN_STAT_AUDIO   277    /* DTMF, DSP indications                 */
 #define ISDN_STAT_DISCH   278    /* Disable/Enable channel usage          */
@@ -219,12 +218,6 @@ typedef struct
 #define ISDN_AUDIO_SETDD       0       /* Set DTMF detection           */
 #define ISDN_AUDIO_DTMF                1       /* Rx/Tx DTMF                   */
 
-/*
- * Values for errcode field
- */
-#define ISDN_STAT_L1ERR_SEND 1
-#define ISDN_STAT_L1ERR_RECV 2
-
 /*
  * Values for feature-field of interface-struct.
  */