aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-06-17 16:58:38 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-06-17 16:58:38 +0800
commitdad5724eb34e20913c7b4ddafb489b432655740a (patch)
tree128a498d5a08d88dfed68abfd66996eee496100d
parentc6bb3c4e3398d75716aee9f9c5ffe7f162a4a8b7 (diff)
bsc_api: Remove lchan->conn from the RLL code... it was all dead anyway
-rw-r--r--openbsc/src/bsc_rll.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/openbsc/src/bsc_rll.c b/openbsc/src/bsc_rll.c
index a8e642fa7..bcdf0f3eb 100644
--- a/openbsc/src/bsc_rll.c
+++ b/openbsc/src/bsc_rll.c
@@ -52,9 +52,6 @@ static LLIST_HEAD(bsc_rll_reqs);
static void complete_rllr(struct bsc_rll_req *rllr, enum bsc_rllr_ind type)
{
- struct gsm_subscriber_connection *conn;
-
- conn = &rllr->lchan->conn;
llist_del(&rllr->list);
rllr->cb(rllr->lchan, rllr->link_id, rllr->data, type);
talloc_free(rllr);
@@ -73,7 +70,6 @@ int rll_establish(struct gsm_lchan *lchan, u_int8_t sapi,
enum bsc_rllr_ind),
void *data)
{
- struct gsm_subscriber_connection *conn;
struct bsc_rll_req *rllr = talloc_zero(tall_bsc_ctx, struct bsc_rll_req);
u_int8_t link_id;
if (!rllr)
@@ -87,7 +83,6 @@ int rll_establish(struct gsm_lchan *lchan, u_int8_t sapi,
lchan->type == GSM_LCHAN_TCH_H) && sapi != 0)
link_id |= 0x40;
- conn = &lchan->conn;
rllr->lchan = lchan;
rllr->link_id = link_id;
rllr->cb = cb;