hlist: drop the node parameter from iterators
[deliverable/linux.git] / drivers / infiniband / core / fmr_pool.c
index 176c8f90f2bb359f0b3a933eae1e9ab696518f79..9f5ad7cc33c89985fb1c490c27f07766e38e29fa 100644 (file)
@@ -118,14 +118,13 @@ static inline struct ib_pool_fmr *ib_fmr_cache_lookup(struct ib_fmr_pool *pool,
 {
        struct hlist_head *bucket;
        struct ib_pool_fmr *fmr;
-       struct hlist_node *pos;
 
        if (!pool->cache_bucket)
                return NULL;
 
        bucket = pool->cache_bucket + ib_fmr_hash(*page_list);
 
-       hlist_for_each_entry(fmr, pos, bucket, cache_node)
+       hlist_for_each_entry(fmr, bucket, cache_node)
                if (io_virtual_address == fmr->io_virtual_address &&
                    page_list_len      == fmr->page_list_len      &&
                    !memcmp(page_list, fmr->page_list,
This page took 0.038708 seconds and 5 git commands to generate.