diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2025-09-10 15:29:18 +0100 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-21 14:22:32 -0700 |
| commit | 6fd893a40e3c990ea4ca3a9c084d1ddc3020d936 (patch) | |
| tree | 44f6d30ae5b8d251e63768fd705ba52d4c852d04 /scripts/kernel-doc.py | |
| parent | 3a37469e5ac004905e4125bf60b43cc5216e83dc (diff) | |
mm: remove redundant test in validate_page_before_insert()
The page_has_type() call would have included slab since commit
46df8e73a4a3 and now we don't even get that far because slab pages have a
zero refcount since commit 9aec2fb0fd5e.
Link: https://lkml.kernel.org/r/20250910142923.2465470-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Acked-by: David Hildenbrand <david@redhat.com>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/kernel-doc.py')
0 files changed, 0 insertions, 0 deletions
