Change in ...libosmocore[master]: cbsp.c: Remove dead code

laforge gerrit-no-reply at lists.osmocom.org
Sun Jul 21 10:30:04 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmocore/+/14847 )

Change subject: cbsp.c: Remove dead code
......................................................................

cbsp.c: Remove dead code

Change-Id: I0888fbad0f9094ec1b31e2cceecfc9cd372399bd
Closes: CID#202057
---
M src/gsm/cbsp.c
1 file changed, 1 insertion(+), 3 deletions(-)

Approvals:
  Jenkins Builder: Verified
  fixeria: Looks good to me, approved



diff --git a/src/gsm/cbsp.c b/src/gsm/cbsp.c
index 23f68de..84b9235 100644
--- a/src/gsm/cbsp.c
+++ b/src/gsm/cbsp.c
@@ -1391,10 +1391,8 @@
 
 	if (!msg) {
 		msg = osmo_cbsp_msgb_alloc(ctx, __func__);
-		if (!msg) {
+		if (!msg)
 			return -ENOMEM;
-			goto discard_msg;
-		}
 		msg->l1h = msg->tail;
 	}
 

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I0888fbad0f9094ec1b31e2cceecfc9cd372399bd
Gerrit-Change-Number: 14847
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190721/f4039ab1/attachment.html>


More information about the gerrit-log mailing list