pespin submitted this change.
paging: Use llist_first_entry() macro
Change-Id: I83e88de6f48cc8aad18ed80ab981b0b438e72b1a
---
M src/osmo-bsc/paging.c
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index ed435f4..bf2629d 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -204,8 +204,8 @@
return;
}
- request = llist_entry(paging_bts->pending_requests.next,
- struct gsm_paging_request, entry);
+ request = llist_first_entry(&paging_bts->pending_requests,
+ struct gsm_paging_request, entry);
/* we need to determine the number of free channels */
if (paging_bts->free_chans_need != -1) {
To view, visit change 27883. To unsubscribe, or for help writing mail filters, visit settings.