mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 22:53:35 +00:00
btrfs-progs: remove unused argument from print_device_sizes
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
ff76f61e98
commit
780176f356
@ -535,7 +535,7 @@ static int _cmd_device_usage(int fd, char *path, unsigned unit_mode)
|
||||
|
||||
for (i = 0; i < devcount; i++) {
|
||||
printf("%s, ID: %llu\n", devinfo[i].path, devinfo[i].devid);
|
||||
print_device_sizes(fd, &devinfo[i], unit_mode);
|
||||
print_device_sizes(&devinfo[i], unit_mode);
|
||||
print_device_chunks(fd, &devinfo[i], chunkinfo, chunkcount,
|
||||
unit_mode);
|
||||
printf("\n");
|
||||
|
@ -1033,7 +1033,7 @@ void print_device_chunks(int fd, struct device_info *devinfo,
|
||||
unit_mode | UNITS_NEGATIVE));
|
||||
}
|
||||
|
||||
void print_device_sizes(int fd, struct device_info *devinfo, unsigned unit_mode)
|
||||
void print_device_sizes(struct device_info *devinfo, unsigned unit_mode)
|
||||
{
|
||||
printf(" Device size: %*s%10s\n",
|
||||
(int)(20 - strlen("Device size")), "",
|
||||
|
@ -52,6 +52,6 @@ int load_chunk_and_device_info(int fd, struct chunk_info **chunkinfo,
|
||||
void print_device_chunks(int fd, struct device_info *devinfo,
|
||||
struct chunk_info *chunks_info_ptr,
|
||||
int chunks_info_count, unsigned unit_mode);
|
||||
void print_device_sizes(int fd, struct device_info *devinfo, unsigned unit_mode);
|
||||
void print_device_sizes(struct device_info *devinfo, unsigned unit_mode);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user