]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: remove debug
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 13 Aug 2020 16:58:09 +0000 (12:58 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:09:12 +0000 (15:09 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c

index 22a60dcfe0e94afa9f6cd2070ad1a9262fe8a914..9616b02e24a878b45ffb6ce17604fc11eb33e008 100644 (file)
@@ -3029,13 +3029,6 @@ static inline int mas_spanning_store(struct ma_state *mas, void *entry)
        // Calc the number of iterations of combining and splitting that will
        // need to occur.
        count = mas_cnt_positive(mas) + mas->tree->ma_height - mas->depth + 1;
-       if (!count) {
-               mt_dump(mas->tree);
-               printk("%p insert %lu-%lu\n", mas_mn(mas), mas->index, mas->last);
-               printk("%u + %u - %u + 1\n", mas_cnt_positive(mas),
-                      mas->tree->ma_height, mas->depth);
-       }
-       BUG_ON(!count);
 
        // Combine l_mas and r_mas and split them up evenly again.
        return mas_spanning_rebalance(mas, &mast, count);