summaryrefslogtreecommitdiffstats
path: root/src/gsm/lapdm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsm/lapdm.c')
-rw-r--r--src/gsm/lapdm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gsm/lapdm.c b/src/gsm/lapdm.c
index 7ca2b3e3..80c0d178 100644
--- a/src/gsm/lapdm.c
+++ b/src/gsm/lapdm.c
@@ -414,11 +414,6 @@ static int send_rslms_dlsap(struct osmo_dlsap_prim *dp,
switch (OSMO_PRIM_HDR(&dp->oph)) {
case OSMO_PRIM(PRIM_DL_EST, PRIM_OP_INDICATION):
- if (dp->oph.msg && dp->oph.msg->len == 0) {
- /* omit L3 info by freeing message */
- msgb_free(dp->oph.msg);
- dp->oph.msg = NULL;
- }
rll_msg = RSL_MT_EST_IND;
break;
case OSMO_PRIM(PRIM_DL_EST, PRIM_OP_CONFIRM):