diff options
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r-- | mm/huge_memory.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index bfa142e67b1c..e2f7f5aaaafb 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c | |||
@@ -1906,9 +1906,8 @@ static inline void free_mm_slot(struct mm_slot *mm_slot) | |||
1906 | static struct mm_slot *get_mm_slot(struct mm_struct *mm) | 1906 | static struct mm_slot *get_mm_slot(struct mm_struct *mm) |
1907 | { | 1907 | { |
1908 | struct mm_slot *mm_slot; | 1908 | struct mm_slot *mm_slot; |
1909 | struct hlist_node *node; | ||
1910 | 1909 | ||
1911 | hash_for_each_possible(mm_slots_hash, mm_slot, node, hash, (unsigned long)mm) | 1910 | hash_for_each_possible(mm_slots_hash, mm_slot, hash, (unsigned long)mm) |
1912 | if (mm == mm_slot->mm) | 1911 | if (mm == mm_slot->mm) |
1913 | return mm_slot; | 1912 | return mm_slot; |
1914 | 1913 | ||