mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
fs/squashfs: sqfs_size: remove useless sqfs_closedir()
as sqfs_opendir failed, there's no need to call sqfs_closedir Signed-off-by: Richard Genoud <richard.genoud@posteo.net>
This commit is contained in:
parent
508a9dc7f6
commit
35475f83a1
1 changed files with 0 additions and 1 deletions
|
@ -1557,7 +1557,6 @@ int sqfs_size(const char *filename, loff_t *size)
|
|||
*/
|
||||
ret = sqfs_opendir(dir, &dirsp);
|
||||
if (ret) {
|
||||
sqfs_closedir(dirsp);
|
||||
ret = -EINVAL;
|
||||
goto free_strings;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue