]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/md/dm-bio-prison.c
hlist: drop the node parameter from iterators
[mirror_ubuntu-bionic-kernel.git] / drivers / md / dm-bio-prison.c
index aefb78e3cbf9beda9a1bfe3170123a22d02ccfbb..d9d3f1c7b66246bb461b9f5f84ab0ae923554f0d 100644 (file)
@@ -106,9 +106,8 @@ static struct dm_bio_prison_cell *__search_bucket(struct hlist_head *bucket,
                                                  struct dm_cell_key *key)
 {
        struct dm_bio_prison_cell *cell;
-       struct hlist_node *tmp;
 
-       hlist_for_each_entry(cell, tmp, bucket, list)
+       hlist_for_each_entry(cell, bucket, list)
                if (keys_equal(&cell->key, key))
                        return cell;