aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bsc/osmo_bsc_bssap.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osmo-bsc/osmo_bsc_bssap.c b/src/osmo-bsc/osmo_bsc_bssap.c
index 3e15248f3..156ebd313 100644
--- a/src/osmo-bsc/osmo_bsc_bssap.c
+++ b/src/osmo-bsc/osmo_bsc_bssap.c
@@ -889,10 +889,7 @@ static int bssmap_handle_assignm_req(struct gsm_subscriber_connection *conn,
reject:
resp = gsm0808_create_assignment_failure(cause, NULL);
- if (!resp) {
- LOGP(DMSC, LOGL_ERROR, "Channel allocation failure.\n");
- return -1;
- }
+ OSMO_ASSERT(resp);
osmo_bsc_sigtran_send(conn, resp);
return -1;