From: Kay Sievers Date: Tue, 14 Jan 2014 16:13:45 +0000 (+0800) Subject: pool: remove debug function X-Git-Tag: upstream/0.20140120.123719~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35def661737352cdfe7fd1d61356125167bdab09;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git pool: remove debug function --- diff --git a/pool.c b/pool.c index ba66ea1..b54d4b3 100644 --- a/pool.c +++ b/pool.c @@ -88,21 +88,6 @@ struct kdbus_slice { bool free; }; -static void __maybe_unused kdbus_pool_slices_dump(struct kdbus_pool *pool, - const char *str) -{ - struct kdbus_slice *s; - - pr_info("=== dump start '%s' pool=%p size=%zu ===\n", - str, pool, pool->size); - - list_for_each_entry(s, &pool->slices, entry) - pr_info(" slice=%p free=%u, off=%zu size=%zu\n", - s, s->free, s->off, s->size); - - pr_info("=== dump end '%s' pool=%p ===\n", str, pool); -} - static struct kdbus_slice *kdbus_pool_slice_new(size_t off, size_t size) { struct kdbus_slice *slice;