[PATCH] osmocom-bb[master]: mobile/gsm48_mm.c: strip unused 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
Tue May 16 22:13:13 UTC 2017


Review at  https://gerrit.osmocom.org/2666

mobile/gsm48_mm.c: strip unused variable

Change-Id: I2708628263bec4bc6bf53a357928e23609b40c64
---
M src/host/layer23/src/mobile/gsm48_mm.c
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/66/2666/1

diff --git a/src/host/layer23/src/mobile/gsm48_mm.c b/src/host/layer23/src/mobile/gsm48_mm.c
index 46b641c..100129b 100644
--- a/src/host/layer23/src/mobile/gsm48_mm.c
+++ b/src/host/layer23/src/mobile/gsm48_mm.c
@@ -777,11 +777,9 @@
 {
 	struct gsm48_mmlayer *mm = &ms->mmlayer;
 	struct msgb *msg;
-	struct gsm48_mmr *mmr;
 	int work = 0;
 
 	while ((msg = msgb_dequeue(&mm->mmr_downqueue))) {
-		mmr = (struct gsm48_mmr *) msg->data;
 		gsm48_rcv_mmr(ms, msg);
 		msgb_free(msg);
 		work = 1; /* work done */

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2708628263bec4bc6bf53a357928e23609b40c64
Gerrit-PatchSet: 1
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>



More information about the gerrit-log mailing list