]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/fat/inode.c
hlist: drop the node parameter from iterators
[karo-tx-linux.git] / fs / fat / inode.c
index 780e2080634644763b7020382de7ec807b3ee69e..acf6e479b4433a5a78a087eefd838757b49d50cb 100644 (file)
@@ -341,12 +341,11 @@ struct inode *fat_iget(struct super_block *sb, loff_t i_pos)
 {
        struct msdos_sb_info *sbi = MSDOS_SB(sb);
        struct hlist_head *head = sbi->inode_hashtable + fat_hash(i_pos);
-       struct hlist_node *_p;
        struct msdos_inode_info *i;
        struct inode *inode = NULL;
 
        spin_lock(&sbi->inode_hash_lock);
-       hlist_for_each_entry(i, _p, head, i_fat_hash) {
+       hlist_for_each_entry(i, head, i_fat_hash) {
                BUG_ON(i->vfs_inode.i_sb != sb);
                if (i->i_pos != i_pos)
                        continue;