misc: Do not use else when using return in the previous branch
This commit is contained in:
parent
39c31dea2e
commit
4d2a68cf11
|
@ -909,7 +909,7 @@ static int gsm48_rx_mm_serv_req(struct gsm_subscriber_connection *conn, struct m
|
|||
if (!subscr)
|
||||
return gsm48_tx_mm_serv_rej(conn,
|
||||
GSM48_REJECT_IMSI_UNKNOWN_IN_HLR);
|
||||
else if (subscr->lac == GSM_LAC_RESERVED_DETACHED)
|
||||
if (subscr->lac == GSM_LAC_RESERVED_DETACHED)
|
||||
/* If the subscriber is not attached, reject service */
|
||||
return gsm48_tx_mm_serv_rej(conn,
|
||||
GSM48_REJECT_IMSI_UNKNOWN_IN_VLR);
|
||||
|
|
Loading…
Reference in New Issue