summaryrefslogtreecommitdiffstats
path: root/fs
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 /fs
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 'fs')
-rw-r--r--fs/fs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 3db24b7b68..a5dbc3aac4 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -909,7 +909,6 @@ EXPORT_SYMBOL(readdir);
static void stat_inode(struct inode *inode, struct stat *s)
{
- s->st_dev = 0;
s->st_ino = inode->i_ino;
s->st_mode = inode->i_mode;
s->st_uid = inode->i_uid;