aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2018-03-19 12:02:11 +0100
committerTom Rini <trini@konsulko.com>2018-04-06 17:04:33 -0400
commit22fc7b6cd6e66911c58848d03eb0f1ddee024137 (patch)
treee793a489de580954a0848a690bc2ad5bbc51d870 /fs
parent025a0d40e126a0035bb00df067850c23aa783b80 (diff)
downloadu-boot-22fc7b6cd6e66911c58848d03eb0f1ddee024137.zip
u-boot-22fc7b6cd6e66911c58848d03eb0f1ddee024137.tar.gz
u-boot-22fc7b6cd6e66911c58848d03eb0f1ddee024137.tar.bz2
fs: btrfs: Remove unused debug code left from development
Signed-off-by: Marek Behun <marek.behun@nic.cz>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/btrfs.c4
-rw-r--r--fs/btrfs/ctree.c10
2 files changed, 0 insertions, 14 deletions
diff --git a/fs/btrfs/btrfs.c b/fs/btrfs/btrfs.c
index 4140e2b..b01b111 100644
--- a/fs/btrfs/btrfs.c
+++ b/fs/btrfs/btrfs.c
@@ -221,7 +221,3 @@ int btrfs_uuid(char *uuid_str)
#endif
return -ENOSYS;
}
-
-/*
- btrfs_list_subvols();
-*/
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index b13ecb9..c15fca3 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -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;
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) {
mid = (low + high) / 2;