]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pstore/ramoops: Remove useless memblock header
authorGuilherme G. Piccoli <gpiccoli@igalia.com>
Wed, 18 Feb 2026 19:37:31 +0000 (16:37 -0300)
committerKees Cook <kees@kernel.org>
Tue, 31 Mar 2026 21:52:25 +0000 (14:52 -0700)
Seems the linux/memblock.h inclusion was added early on due
to usage of some memblock allocation routine. But that was
removed, header was forgotten, hence let's remove that.

Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Link: https://patch.msgid.link/20260218193940.912143-2-gpiccoli@igalia.com
Signed-off-by: Kees Cook <kees@kernel.org>
fs/pstore/ram_core.c

index ed97494abf60fabd0c6c7ce8a35a7ab476dccf7d..d47ba14e47bdea0dcdb93db2b8bd991ca573a2bf 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/list.h>
-#include <linux/memblock.h>
 #include <linux/rslib.h>
 #include <linux/slab.h>
 #include <linux/uaccess.h>