[PATCH 1/3] fs: squashfs: drop unused struct squashfs_dir definition
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Mar 26 10:00:08 PDT 2025
The definition is at the end of the file too late to be used and indeed
it's used nowhere, so drop it.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
fs/squashfs/squashfs.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/fs/squashfs/squashfs.c b/fs/squashfs/squashfs.c
index 5441271e45f1..7ae8c1296b87 100644
--- a/fs/squashfs/squashfs.c
+++ b/fs/squashfs/squashfs.c
@@ -243,17 +243,6 @@ static int squashfs_read(struct device *_dev, struct file *f, void *buf,
return insize;
}
-struct squashfs_dir {
- struct file file;
- struct dentry dentry;
- struct dentry root_dentry;
- struct inode inode;
- struct qstr nm;
- DIR dir;
- char d_name[256];
- char root_d_name[256];
-};
-
static struct fs_driver squashfs_driver = {
.read = squashfs_read,
.type = filetype_squashfs,
--
2.39.5
More information about the barebox
mailing list