summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Collingbourne <[email protected]>2026-05-11 22:50:08 -0700
committerHeiko Schocher <[email protected]>2026-05-18 09:19:56 +0200
commit0646ee0ed86bd2809e10cff1f8ca3310ad7bf33b (patch)
tree1e9a398273d239e8e9f775cf7dbdb0fb513d2be3
parent215496fec59b3fa09256b4fb62f92af46e2ec7f9 (diff)
fs: ubifs: remove dead code
This code is dead because it appears after an infinite loop; remove it. Fixes: d5888d509cc4 ("fs: ubifs: fix bugs involving symlinks in ubifs_findfile") Signed-off-by: Peter Collingbourne <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> hs: corrected the commit ID
-rw-r--r--fs/ubifs/ubifs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c
index aafbd01a028..3f2e2037745 100644
--- a/fs/ubifs/ubifs.c
+++ b/fs/ubifs/ubifs.c
@@ -608,9 +608,6 @@ static unsigned long ubifs_findfile(struct super_block *sb, char *filename)
root_inum = inum;
name = next;
}
-
- kfree(buf);
- return 0;
}
int ubifs_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info)