aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/l1sap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/l1sap.c')
-rw-r--r--src/common/l1sap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/l1sap.c b/src/common/l1sap.c
index aaa845ac..bb1f4598 100644
--- a/src/common/l1sap.c
+++ b/src/common/l1sap.c
@@ -911,8 +911,8 @@ static void l1sap_update_fnstats(struct gsm_bts *bts, uint32_t rts_fn)
static inline struct msgb *lapdm_phsap_dequeue_msg(struct lapdm_entity *le)
{
struct osmo_phsap_prim pp;
- if (lapdm_phsap_dequeue_prim(le, &pp) < 0) ;
- return NULL;
+ if (lapdm_phsap_dequeue_prim(le, &pp) < 0)
+ return NULL;
return pp.oph.msg;
}