From 0cfb421c756e6741ce412dc36b965622dbdea279 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Thu, 13 Aug 2020 12:58:09 -0400 Subject: [PATCH] maple_tree: remove debug Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 22a60dcfe0e9..9616b02e24a8 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -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); -- 2.50.1