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
This commit is contained in:
Harald Welte 2017-12-18 18:35:23 +01:00
parent 4a8ebc8394
commit 472275c301
2 changed files with 0 additions and 3 deletions

View File

@ -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;
};

View File

@ -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;