[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.
2 files changed
tree: f0a9b52d256e409dac0c24d7f1b7ba2fcec6ac13
  1. hlrsync/
  2. libosmocore/
  3. linux-kernel/
  4. openbsc/
  5. rrlp-ephemeris/
  6. wireshark/