mksquashfs: don't now need to check if progress bar is enabled
first before calling disable_progress_bar()
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
diff --git a/squashfs-tools/mksquashfs.c b/squashfs-tools/mksquashfs.c
index 00a02f5..c661da2 100644
--- a/squashfs-tools/mksquashfs.c
+++ b/squashfs-tools/mksquashfs.c
@@ -5887,8 +5887,7 @@
no_xattrs, comp_opts);
sBlk.mkfs_time = time(NULL);
- if(progress)
- disable_progress_bar();
+ disable_progress_bar();
while((fragment = get_frag_action(fragment)))
write_fragment(*fragment);