From: Rajveer Chaudhari <rajveer.chaudhari.linux@gmail.com>
To: gregkh@linuxfoundation.org, ovidiu.panait.oss@gmail.com,
gshahrouzi@gmail.com
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org,
Rajveer Chaudhari <rajveer.chaudhari.linux@gmail.com>
Subject: [PATCH] staging: axis-fifo: remove unused header includes
Date: Sat, 14 Feb 2026 19:10:08 +0530 [thread overview]
Message-ID: <20260214134008.21501-1-rajveer.chaudhari.linux@gmail.com> (raw)
Remove unused header includes from axis-fifo.c to
reduce unnecessary dependencies and improve compilation time.
Replaced kernel.h include with container_of.h to directly
include dependency instead of using it indirectly via kernel.h .
Signed-off-by: Rajveer Chaudhari <rajveer.chaudhari.linux@gmail.com>
---
drivers/staging/axis-fifo/axis-fifo.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/staging/axis-fifo/axis-fifo.c b/drivers/staging/axis-fifo/axis-fifo.c
index 509d620d6ce7..c90bf2d841ce 100644
--- a/drivers/staging/axis-fifo/axis-fifo.c
+++ b/drivers/staging/axis-fifo/axis-fifo.c
@@ -14,7 +14,7 @@
* ----------------------------
*/
-#include <linux/kernel.h>
+#include <linux/container_of.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/wait.h>
@@ -27,9 +27,6 @@
#include <linux/io.h>
#include <linux/moduleparam.h>
#include <linux/interrupt.h>
-#include <linux/param.h>
-#include <linux/fs.h>
-#include <linux/types.h>
#include <linux/uaccess.h>
#include <linux/jiffies.h>
#include <linux/miscdevice.h>
--
2.53.0
next reply other threads:[~2026-02-14 13:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-14 13:40 Rajveer Chaudhari [this message]
2026-02-23 14:43 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260214134008.21501-1-rajveer.chaudhari.linux@gmail.com \
--to=rajveer.chaudhari.linux@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=gshahrouzi@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=ovidiu.panait.oss@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®