aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-19 13:28:59 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-19 13:28:59 +0200
commitb3f06dac2bc408bb6d170e7c4ad3c94ad28c56cd (patch)
tree563e2a9ca1842fd150fb47a283db861bb4be73a9
parentd4f8f68e16424a6d7bd5cc993bb23ac9800eb4be (diff)
hsl: remove unsued 'proto' variable
-rw-r--r--src/input/hsl.c3
1 files changed, 0 insertions, 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);