fs: ubifs: remove dead code

This code is dead because it appears after an infinite loop; remove it.

Fixes: d5888d509c ("fs: ubifs: fix bugs involving symlinks in ubifs_findfile")
Signed-off-by: Peter Collingbourne <peter@pcc.me.uk>
Reviewed-by: Heiko Schocher <hs@nabladev.com>

hs: corrected the commit ID
This commit is contained in:
Peter Collingbourne
2026-05-18 09:19:56 +02:00
committed by Heiko Schocher
parent 215496fec5
commit 0646ee0ed8
-3
View File
@@ -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)