summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-12 12:40:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-16 11:31:22 +0100
commit6c63d236d9e9e0fe1e019674d21620e26ba53268 (patch)
treec3ce2bfa64f7eeefc82be8d138ec38b701a8e89c /include
parentd090081414b84d82261a19aefb46c823427847f1 (diff)
downloadbarebox-6c63d236d9e9e0fe1e019674d21620e26ba53268.tar.gz
barebox-6c63d236d9e9e0fe1e019674d21620e26ba53268.tar.xz
fs: delete unused members in <linux/stat.h>
Most of the struct is stuff we don't use and likely won't any time soon. Drop them. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/stat.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 87fe068396..f5043d8bce 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -45,8 +45,6 @@ extern "C" {
#define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO)
struct stat {
- unsigned short st_dev;
- unsigned short __pad1;
unsigned long st_ino;
unsigned short st_mode;
unsigned short st_nlink;
@@ -55,16 +53,6 @@ struct stat {
unsigned short st_rdev;
unsigned short __pad2;
loff_t st_size;
- unsigned long st_blksize;
- unsigned long st_blocks;
- unsigned long st_atime;
- unsigned long __unused1;
- unsigned long st_mtime;
- unsigned long __unused2;
- unsigned long st_ctime;
- unsigned long __unused3;
- unsigned long __unused4;
- unsigned long __unused5;
};
#ifdef __cplusplus