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:
Holger Hans Peter Freyther 2010-11-04 12:47:55 +01:00
parent 46caa3048d
commit 66dcd925c6
2 changed files with 0 additions and 6 deletions

View File

@ -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);

View File

@ -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()