laforge has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/47/14847/1
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 <[email protected]>
Gerrit-MessageType: newchange