bsc_api: Nuke the clear complete from the API.
There is no place where it can be called. Whoever is calling the gsm0808_clear method should generate the clear complete as the result.
This commit is contained in:
parent
46caa3048d
commit
66dcd925c6
|
@ -23,7 +23,6 @@ struct bsc_api {
|
|||
uint16_t rr_cause);
|
||||
int (*clear_request)(struct gsm_subscriber_connection *conn,
|
||||
uint32_t cause);
|
||||
void (*clear_compl)(struct gsm_subscriber_connection *conn);
|
||||
};
|
||||
|
||||
int bsc_api_init(struct gsm_network *network, struct bsc_api *api);
|
||||
|
|
|
@ -54,10 +54,6 @@ static int bsc_clear_request(struct gsm_subscriber_connection *conn, uint32_t ca
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void bsc_clear_compl(struct gsm_subscriber_connection *conn)
|
||||
{
|
||||
}
|
||||
|
||||
static struct bsc_api bsc_handler = {
|
||||
.sapi_n_reject = bsc_sapi_n_reject,
|
||||
.cipher_mode_compl = bsc_cipher_mode_compl,
|
||||
|
@ -66,7 +62,6 @@ static struct bsc_api bsc_handler = {
|
|||
.assign_compl = bsc_assign_compl,
|
||||
.assign_fail = bsc_assign_fail,
|
||||
.clear_request = bsc_clear_request,
|
||||
.clear_compl = bsc_clear_compl,
|
||||
};
|
||||
|
||||
struct bsc_api *osmo_bsc_api()
|
||||
|
|
Loading…
Reference in New Issue