]> git.sur5r.net Git - u-boot/commitdiff
fs: btrfs: Remove unused debug code left from development
authorMarek BehĂșn <marek.behun@nic.cz>
Mon, 19 Mar 2018 11:02:11 +0000 (12:02 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 6 Apr 2018 21:04:33 +0000 (17:04 -0400)
Signed-off-by: Marek Behun <marek.behun@nic.cz>
fs/btrfs/btrfs.c
fs/btrfs/ctree.c

index 4140e2bc206bd819c30de2eb838b2a83ac963a4b..b01b111bfb4d9c38a6d3c7f2bd7792c24dad337c 100644 (file)
@@ -221,7 +221,3 @@ int btrfs_uuid(char *uuid_str)
 #endif
        return -ENOSYS;
 }
-
-/*
-               btrfs_list_subvols();
-*/
index b13ecb93764c3c02e88a8f6e87a3aea1aab2a476..c15fca34172d48b42282d29439f5de15079c0d64 100644 (file)
@@ -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;