diff options
author | Harald Welte <laforge@gnumonks.org> | 2019-07-21 07:51:33 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-07-21 07:59:42 +0200 |
commit | c30d8be91930edd585a80a2f233e4ff6abeba8a2 (patch) | |
tree | 75715fb4c0bd72ace927e179bd20215bd110d0e2 /src/gsm | |
parent | 3f27f71b5f510b98a285d55fbd86939e218a0fdd (diff) |
cbsp.c: Remove dead code
Change-Id: I0888fbad0f9094ec1b31e2cceecfc9cd372399bd
Closes: CID#202057
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/cbsp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gsm/cbsp.c b/src/gsm/cbsp.c index 23f68dee..84b92358 100644 --- a/src/gsm/cbsp.c +++ b/src/gsm/cbsp.c @@ -1391,10 +1391,8 @@ int osmo_cbsp_recv_buffered(void *ctx, int fd, struct msgb **rmsg, struct msgb * if (!msg) { msg = osmo_cbsp_msgb_alloc(ctx, __func__); - if (!msg) { + if (!msg) return -ENOMEM; - goto discard_msg; - } msg->l1h = msg->tail; } |