linux: Drop useless includes from fstatat.c

Message ID 20221101213026.22290-1-aurelien@aurel32.net
State Superseded
Headers
Series linux: Drop useless includes from fstatat.c |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to build

Commit Message

Aurelien Jarno Nov. 1, 2022, 9:30 p.m. UTC
  They are left-overs from previous refactorings.
---
 sysdeps/unix/sysv/linux/fstatat.c | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

diff --git a/sysdeps/unix/sysv/linux/fstatat.c b/sysdeps/unix/sysv/linux/fstatat.c
index 055fb4762e..6783d7f1cf 100644
--- a/sysdeps/unix/sysv/linux/fstatat.c
+++ b/sysdeps/unix/sysv/linux/fstatat.c
@@ -17,12 +17,9 @@ 
    <https://www.gnu.org/licenses/>.  */
 
 #include <sys/stat.h>
-#include <kernel_stat.h>
 #include <sysdep.h>
 
 #if !XSTAT_IS_XSTAT64
-# include <kstat_cp.h>
-
 int
 __fstatat (int fd, const char *file, struct stat *buf, int flag)
 {