diff options
author | Richard Genoud <richard.genoud@posteo.net> | 2020-11-03 12:11:10 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-11-19 09:45:49 -0500 |
commit | 35475f83a107901551c31f7bc70f5266862a33e4 (patch) | |
tree | 6042c6d5ae8efe63116030b729031eb9589d2e81 | |
parent | 508a9dc7f694df11c7de7460f888f508e40a2046 (diff) | |
download | u-boot-35475f83a107901551c31f7bc70f5266862a33e4.tar.gz |
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>
-rw-r--r-- | fs/squashfs/sqfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index 3b008b5235..f4cac3e4bf 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c @@ -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; } |