]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/xfs/xfs_log_recover.c
hlist: drop the node parameter from iterators
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / xfs_log_recover.c
index 96fcbb85ff835d0223e292125f501482626bc60c..d1dba7ce75aefeb2af92ded16d8d944f452a7a1e 100644 (file)
@@ -1442,9 +1442,8 @@ xlog_recover_find_tid(
        xlog_tid_t              tid)
 {
        xlog_recover_t          *trans;
-       struct hlist_node       *n;
 
-       hlist_for_each_entry(trans, n, head, r_list) {
+       hlist_for_each_entry(trans, head, r_list) {
                if (trans->r_log_tid == tid)
                        return trans;
        }