mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] fs: squashfs: drop unused struct squashfs_dir definition
@ 2025-03-26 17:00 Ahmad Fatoum
  2025-03-26 17:00 ` [PATCH 2/3] common: elf: drop unused arch notes stubs Ahmad Fatoum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ahmad Fatoum @ 2025-03-26 17:00 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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@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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-03-27  9:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-26 17:00 [PATCH 1/3] fs: squashfs: drop unused struct squashfs_dir definition Ahmad Fatoum
2025-03-26 17:00 ` [PATCH 2/3] common: elf: drop unused arch notes stubs Ahmad Fatoum
2025-03-26 17:00 ` [PATCH 3/3] driver: drop unused dev_open/close_default stubs Ahmad Fatoum
2025-03-27  9:17 ` [PATCH 1/3] fs: squashfs: drop unused struct squashfs_dir definition Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox