From b3f06dac2bc408bb6d170e7c4ad3c94ad28c56cd Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 19 Aug 2011 13:28:59 +0200 Subject: hsl: remove unsued 'proto' variable --- src/input/hsl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/input/hsl.c b/src/input/hsl.c index 7579290..d5010d1 100644 --- a/src/input/hsl.c +++ b/src/input/hsl.c @@ -220,7 +220,6 @@ static int __handle_ts1_write(struct osmo_fd *bfd, struct e1inp_line *line) struct e1inp_ts *e1i_ts = &line->ts[ts_nr-1]; struct e1inp_sign_link *sign_link; struct msgb *msg; - uint8_t proto; int ret; bfd->when &= ~BSC_FD_WRITE; @@ -234,7 +233,6 @@ static int __handle_ts1_write(struct osmo_fd *bfd, struct e1inp_line *line) switch (sign_link->type) { case E1INP_SIGN_OML: - proto = IPAC_PROTO_OML; #ifdef HSL_SR_1_0 /* HSL uses 0x81 for FOM for some reason */ if (msg->data[0] == ABIS_OM_MDISC_FOM) @@ -242,7 +240,6 @@ static int __handle_ts1_write(struct osmo_fd *bfd, struct e1inp_line *line) #endif break; case E1INP_SIGN_RSL: - proto = IPAC_PROTO_RSL; break; default: msgb_free(msg); -- cgit v1.2.3