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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sun May 12 15:48:51 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( 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(-)

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



diff --git a/src/libmsc/gsm_04_11_gsup.c b/src/libmsc/gsm_04_11_gsup.c
index 30f1871..9f5175b 100644
--- a/src/libmsc/gsm_04_11_gsup.c
+++ b/src/libmsc/gsm_04_11_gsup.c
@@ -233,13 +233,11 @@
 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;
 	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: merged
Gerrit-Change-Id: I102e1bd0f8365e77bbc9203158909aad8dcf214b
Gerrit-Change-Number: 14002
Gerrit-PatchSet: 3
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190512/eaacdc41/attachment.html>


More information about the gerrit-log mailing list