remove bogus extra check for data->imsi[0] in mncc_send

As Andreas points out, we already check for this condition some 10 lines
below, no need to check twice.
This commit is contained in:
Harald Welte 2009-07-04 10:11:24 +02:00
parent 73be3aafec
commit 4a3464c565
1 changed files with 1 additions and 2 deletions

View File

@ -3381,8 +3381,7 @@ int mncc_send(struct gsm_network *net, int msg_type, void *arg)
/* Callref unknown */
if (!trans) {
if (msg_type != MNCC_SETUP_REQ ||
(!data->called.number[0] && !data->imsi[0])) {
if (msg_type != MNCC_SETUP_REQ) {
DEBUGP(DCC, "(bts - trx - ts - ti -- sub %s) "
"Received '%s' from MNCC with "
"unknown callref %d\n", data->called.number,