diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-30 17:30:50 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-09-30 17:30:50 +0800 |
commit | 35948551fd07441af1fa3a9d4985b08fdbdc7a33 (patch) | |
tree | c0b9b8e6fcd14762c606ea98a7ba28bc896ec509 /src/main.c | |
parent | 1cb634a1e22987559f3d347c9e404b5eeb21cd73 (diff) |
bsc: Move more sccp code into the bsc_sccp.c
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -214,16 +214,6 @@ static void handle_local_sccp(struct mtp_link *link, struct msgb *inpt, struct s return; } -/* - * remove data - */ -static void free_con(struct active_sccp_con *con) -{ - llist_del(&con->entry); - bsc_del_timer(&con->rlc_timeout); - talloc_free(con); -} - static void clear_connections(struct bsc_data *bsc) { struct active_sccp_con *tmp, *con; @@ -364,24 +354,6 @@ void bsc_link_up(struct link_data *data) /** * update the connection state and helpers below */ -static struct active_sccp_con *find_con_by_dest_ref(struct sccp_source_reference *ref) -{ - struct active_sccp_con *con; - - if (!ref) { - LOGP(DINP, LOGL_ERROR, "Dest Reference is NULL. No connection found.\n"); - return NULL; - } - - llist_for_each_entry(con, &bsc.sccp_connections, entry) { - if (memcmp(&con->dst_ref, ref, sizeof(*ref)) == 0) - return con; - } - - LOGP(DINP, LOGL_ERROR, "No connection fond with: 0x%x as dest\n", sccp_src_ref_to_int(ref)); - return NULL; -} - static void send_rlc_to_bsc(unsigned int sls, struct sccp_source_reference *src, struct sccp_source_reference *dst) { struct msgb *msg; |