Commit 05abe022 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN: Remove ISDN_STAT_L1ERR

It wasn't used in any actual hardware driver, nor did it cause any
action at all.
parent 69383235
......@@ -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
......
......@@ -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;
......
......@@ -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.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment