Harald Welte has submitted this change and it was merged.

Change subject: remove unused 'lac' member of 'struct gsm_subscriber_connection'
......................................................................


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
---
M include/osmocom/bsc/gsm_data.h
M src/libbsc/bsc_api.c
2 files changed, 0 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h
index 2e97055..3cc3794 100644
--- a/include/osmocom/bsc/gsm_data.h
+++ b/include/osmocom/bsc/gsm_data.h
@@ -96,8 +96,6 @@
 
        /* 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 6ff1688..9ec51af 100644
--- a/src/libbsc/bsc_api.c
+++ b/src/libbsc/bsc_api.c
@@ -261,7 +261,6 @@
        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;

-- 
To view, visit https://gerrit.osmocom.org/5508
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I319945538fd3e3bc5cf3b9d82533641cb8ba5256
Gerrit-PatchSet: 4
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to