mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
fs: btrfs: Remove unused debug code left from development
Signed-off-by: Marek Behun <marek.behun@nic.cz>
This commit is contained in:
@@ -221,7 +221,3 @@ int btrfs_uuid(char *uuid_str)
|
|||||||
#endif
|
#endif
|
||||||
return -ENOSYS;
|
return -ENOSYS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
btrfs_list_subvols();
|
|
||||||
*/
|
|
||||||
|
@@ -45,16 +45,6 @@ static int generic_bin_search(void *addr, int item_size, struct btrfs_key *key,
|
|||||||
int low = 0, high = max, mid, ret;
|
int low = 0, high = max, mid, ret;
|
||||||
struct btrfs_key *tmp;
|
struct btrfs_key *tmp;
|
||||||
|
|
||||||
if (0) {
|
|
||||||
int i;
|
|
||||||
printf("\tsearching %llu %i\n", key->objectid, key->type);
|
|
||||||
for (i = 0; i < max; ++i) {
|
|
||||||
tmp = (struct btrfs_key *) ((u8 *) addr + i*item_size);
|
|
||||||
printf("\t\t%llu %i\n", tmp->objectid, tmp->type);
|
|
||||||
}
|
|
||||||
printf("\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
while (low < high) {
|
while (low < high) {
|
||||||
mid = (low + high) / 2;
|
mid = (low + high) / 2;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user