mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
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:
committed by
Heiko Schocher
parent
215496fec5
commit
0646ee0ed8
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user