mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 21:22:37 +01:00
ip-pool: Take out un-needed cast
This commit is contained in:
parent
3dcf1fd9d8
commit
7f4dd181b2
@ -147,7 +147,7 @@ int ip_pool_select_addr4(const char **addr_str_list, uint8_t subnet_prefix_len,
|
|||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
/* Build a sorted list of used/unavailable subnets */
|
/* Build a sorted list of used/unavailable subnets */
|
||||||
for (entry = l_queue_get_entries((struct l_queue *) used_addr4_list);
|
for (entry = l_queue_get_entries(used_addr4_list);
|
||||||
entry; entry = entry->next) {
|
entry; entry = entry->next) {
|
||||||
const struct ip_pool_addr4_record *rec = entry->data;
|
const struct ip_pool_addr4_record *rec = entry->data;
|
||||||
struct ip_pool_addr4_range *range;
|
struct ip_pool_addr4_range *range;
|
||||||
|
Loading…
Reference in New Issue
Block a user