From 472275c30195040312ded0c9dcbe06d1941e556b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 18 Dec 2017 18:35:23 +0100 Subject: remove unused 'lac' member of 'struct gsm_subscriber_connection' This field was used in write-pnly mode, i.e. set but never read. Change-Id: I319945538fd3e3bc5cf3b9d82533641cb8ba5256 --- include/osmocom/bsc/gsm_data.h | 2 -- src/libbsc/bsc_api.c | 1 - 2 files changed, 3 deletions(-) diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 2e97055f0..3cc37945c 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -96,8 +96,6 @@ struct gsm_subscriber_connection { /* buffer/cache for classmark of the ME of the subscriber */ struct gsm_classmark classmark; - - uint16_t lac; }; diff --git a/src/libbsc/bsc_api.c b/src/libbsc/bsc_api.c index 6ff1688f7..9ec51af03 100644 --- a/src/libbsc/bsc_api.c +++ b/src/libbsc/bsc_api.c @@ -261,7 +261,6 @@ struct gsm_subscriber_connection *bsc_subscr_con_allocate(struct gsm_lchan *lcha conn->network = net; conn->lchan = lchan; conn->bts = lchan->ts->trx->bts; - conn->lac = conn->bts->location_area_code; lchan->conn = conn; llist_add_tail(&conn->entry, &net->subscr_conns); return conn; -- cgit v1.2.1