btrfs-progs: don't print version info from embedded subcommands

The version is provided by 'btrfs --version'.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2015-11-06 17:00:36 +01:00
parent 4e01c34b8b
commit e29ec82e4e
2 changed files with 0 additions and 4 deletions

View File

@ -9730,7 +9730,6 @@ out:
printf("file data blocks allocated: %llu\n referenced %llu\n",
(unsigned long long)data_bytes_allocated,
(unsigned long long)data_bytes_referenced);
printf("%s\n", PACKAGE_STRING);
free_root_recs_tree(&root_cache);
close_out:

View File

@ -916,7 +916,6 @@ devs_only:
free_fs_devices(fs_devices);
}
out:
printf("%s\n", PACKAGE_STRING);
free_seen_fsid();
return ret;
}
@ -1174,8 +1173,6 @@ static int cmd_filesystem_defrag(int argc, char **argv)
defrag_global_errors++;
}
}
if (defrag_global_verbose)
printf("%s\n", PACKAGE_STRING);
if (defrag_global_errors)
fprintf(stderr, "total %d failures\n", defrag_global_errors);