diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-12-20 16:21:18 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-17 11:21:10 +0100 |
commit | 016ba29ec23c65ff3ccbd12e6128384567d34406 (patch) | |
tree | 11e9589b6604ac59828248715da873eb7780eb9d /src/main.c | |
parent | f19afaed7bcf4959329ff8f6c9600132726b75e1 (diff) |
msc: Remove the msc_clear_queue now that it is not needed
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -83,11 +83,6 @@ static void mgcp_reset(struct bsc_data *bsc) /* * methods called from the MTP Level3 part */ -void mtp_link_sccp_down(struct mtp_link *link) -{ - msc_clear_queue(&bsc); -} - void mtp_link_forward_sccp(struct mtp_link *link, struct msgb *_msg, int sls) { int rc; @@ -96,7 +91,6 @@ void mtp_link_forward_sccp(struct mtp_link *link, struct msgb *_msg, int sls) rc = bss_patch_filter_msg(_msg, &result); if (rc == BSS_FILTER_RESET) { LOGP(DMSC, LOGL_NOTICE, "Filtering BSS Reset from the BSC\n"); - msc_clear_queue(&bsc); mgcp_reset(&bsc); send_reset_ack(link, sls); return; @@ -288,9 +282,6 @@ void release_bsc_resources(struct bsc_data *bsc) bsc->reset_count = 0; bsc_schedule_timer(&bsc->reset_timeout, 10, 0); } - - /* clear pending messages from the MSC */ - msc_clear_queue(bsc); } void bsc_link_down(struct link_data *data) @@ -306,9 +297,6 @@ void bsc_link_down(struct link_data *data) data->clear_queue(data); - /* clear pending messages from the MSC */ - msc_clear_queue(data->bsc); - /* If we have an A link send a reset to the MSC */ msc_send_reset(data->bsc); } |