* [PATCH] ramfs: drop unused includes from inode.c
@ 2026-11-26 17:54 Arav Verma
0 siblings, 0 replies; only message in thread
From: Arav Verma @ 2026-11-26 17:54 UTC (permalink / raw)
To: brauner, viro; +Cc: jack, linux-fsdevel, linux-kernel, Arav Verma
inode.c includes <linux/highmem.h>, <linux/time.h>,
<linux/backing-dev.h>, <linux/sched.h>, <linux/parser.h> and
<linux/uaccess.h>, but it does not directly use any of the symbols
they provide. Drop them.
Signed-off-by: Arav Verma <svav2021@gmail.com>
---
fs/ramfs/inode.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/fs/ramfs/inode.c b/fs/ramfs/inode.c
index ef91b933d4e61..a8c14fca06561 100644
--- a/fs/ramfs/inode.c
+++ b/fs/ramfs/inode.c
@@ -25,17 +25,11 @@
#include <linux/fs.h>
#include <linux/pagemap.h>
-#include <linux/highmem.h>
-#include <linux/time.h>
#include <linux/init.h>
#include <linux/string.h>
-#include <linux/backing-dev.h>
#include <linux/ramfs.h>
-#include <linux/sched.h>
-#include <linux/parser.h>
#include <linux/magic.h>
#include <linux/slab.h>
-#include <linux/uaccess.h>
#include <linux/fs_context.h>
#include <linux/fs_parser.h>
#include <linux/seq_file.h>
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-26 17:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-26 17:54 [PATCH] ramfs: drop unused includes from inode.c Arav Verma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®