lkml.org 
[lkml]   [2022]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] initramfs: Remove a useless include
Date
<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
\
 
 \ /
  Last update: 2022-11-25 19:18    [W:0.023 / U:1.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site