All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org,
	Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Subject: [PATCH] initramfs: Remove a useless include
Date: Fri, 25 Nov 2022 19:18:25 +0100	[thread overview]
Message-ID: <06ab5dd1d3ed3f5e08d10efd4391aae5b1264e67.1669400298.git.christophe.jaillet@wanadoo.fr> (raw)

<linux/dirent.h> only define the 'linux_dirent64' structure that is not
used in this file since commit	b2a74d5f9d44 ("initramfs: remove
clean_rootfs")

So remove the useless include.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 init/initramfs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/init/initramfs.c b/init/initramfs.c
index 62321883fe61..3eae875d1ff7 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -7,7 +7,6 @@
 #include <linux/fcntl.h>
 #include <linux/delay.h>
 #include <linux/string.h>
-#include <linux/dirent.h>
 #include <linux/syscalls.h>
 #include <linux/utime.h>
 #include <linux/file.h>
-- 
2.34.1


                 reply	other threads:[~2022-11-25 18:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=06ab5dd1d3ed3f5e08d10efd4391aae5b1264e67.1669400298.git.christophe.jaillet@wanadoo.fr \
    --to=christophe.jaillet@wanadoo.fr \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.