From 94aebf983f376983d3dc1c15319c13915698e002 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 19 Aug 2011 13:34:12 +0200 Subject: ipa: remove unused 'proto' variable --- src/input/ipaccess.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c index 8871246..13b3cb1 100644 --- a/src/input/ipaccess.c +++ b/src/input/ipaccess.c @@ -484,7 +484,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; @@ -498,10 +497,8 @@ 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; break; case E1INP_SIGN_RSL: - proto = IPAC_PROTO_RSL; break; default: msgb_free(msg); -- cgit v1.2.3-55-g7522