Change in osmo-msc[master]: libmsc/gsm_04_11_gsup.c: cosmetic: drop useless variable

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat May 11 23:24:28 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/14002


Change subject: libmsc/gsm_04_11_gsup.c: cosmetic: drop useless variable
......................................................................

libmsc/gsm_04_11_gsup.c: cosmetic: drop useless variable

Change-Id: I102e1bd0f8365e77bbc9203158909aad8dcf214b
---
M src/libmsc/gsm_04_11_gsup.c
1 file changed, 1 insertion(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/02/14002/1

diff --git a/src/libmsc/gsm_04_11_gsup.c b/src/libmsc/gsm_04_11_gsup.c
index 19114cc..a1ec634 100644
--- a/src/libmsc/gsm_04_11_gsup.c
+++ b/src/libmsc/gsm_04_11_gsup.c
@@ -233,14 +233,12 @@
 static int gsm411_gsup_mt_handler(struct vlr_subscr *vsub,
 	const struct osmo_gsup_message *gsup_msg)
 {
-	struct vlr_instance *vlr;
 	struct gsm_network *net;
 	bool sm_rp_mmts_ind;
 	int rc;
 
 	/* Obtain required pointers */
-	vlr = vsub->vlr;
-	net = (struct gsm_network *) vlr->user_ctx;
+	net = (struct gsm_network *) vsub->vlr->user_ctx;
 
 	/* Associate logging messages with this subscriber */
 	log_set_context(LOG_CTX_VLR_SUBSCR, vsub);

-- 
To view, visit https://gerrit.osmocom.org/14002
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I102e1bd0f8365e77bbc9203158909aad8dcf214b
Gerrit-Change-Number: 14002
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190511/46722db4/attachment.htm>


More information about the gerrit-log mailing list