From 060970feee2beea37e837e0a2d557e878e5f8290 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Mon, 10 Feb 2020 21:21:57 +0100 Subject: Cleanup: Use stat structs instead of hooks in tar2sqfs/gensquashfs Signed-off-by: David Oberhollenzer --- tar/tar2sqfs.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'tar') diff --git a/tar/tar2sqfs.c b/tar/tar2sqfs.c index b180739..856a1f4 100644 --- a/tar/tar2sqfs.c +++ b/tar/tar2sqfs.c @@ -305,9 +305,6 @@ static int write_file(tar_header_decoded_t *hdr, file_info_t *fi, ret = write_data_from_file(hdr->name, sqfs.data, inode, file, 0); file->destroy(file); - sqfs.stats.bytes_read += filesize; - sqfs.stats.file_count += 1; - if (ret) return -1; -- cgit v1.2.3