aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_data.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-09 21:53:35 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-09 23:20:04 +0200
commit82df124c8ed1abf4943360d04d302d98d1b2501e (patch)
tree9084147fdffcbaafa7f40e03b9fd0ca7abbb8cf7 /openbsc/include/openbsc/gsm_data.h
parent189587f4286543bec3244da300d60f7e0972d023 (diff)
[paging] Simplify the last request and treat llist as a queue
The current code was overly complex. It tried to iterate over the list in a round robin and we had to keep track of the last element, see if we remove that one, check if the list becomes empty... This can all replaced by treating the double linked list as a queue. We take the item at the front, do something on it and then and then put it back to the list at the end.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data.h')
-rw-r--r--openbsc/include/openbsc/gsm_data.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h
index 42b31a62c..4645ecc33 100644
--- a/openbsc/include/openbsc/gsm_data.h
+++ b/openbsc/include/openbsc/gsm_data.h
@@ -396,7 +396,6 @@ struct gsm_paging_request {
struct gsm_bts_paging_state {
/* pending requests */
struct llist_head pending_requests;
- struct gsm_paging_request *last_request;
struct gsm_bts *bts;
struct timer_list work_timer;