From 3fe3aebd630e9a61812d1a14cd95fce8bf26b334 Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Thu, 25 Mar 2021 10:24:27 +0100 Subject: [PATCH] panfrost: Get rid of panfrost_pool_alloc() This one is no longer used. Signed-off-by: Boris Brezillon Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/lib/pan_pool.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/panfrost/lib/pan_pool.h b/src/panfrost/lib/pan_pool.h index 00c35fc..a8d1669 100644 --- a/src/panfrost/lib/pan_pool.h +++ b/src/panfrost/lib/pan_pool.h @@ -76,18 +76,6 @@ panfrost_pool_get_bo_handles(struct pan_pool *pool, uint32_t *handles); struct panfrost_ptr panfrost_pool_alloc_aligned(struct pan_pool *pool, size_t sz, unsigned alignment); -/* Default to self-alignment */ - -static inline struct panfrost_ptr -panfrost_pool_alloc(struct pan_pool *pool, size_t sz) -{ - assert(sz == util_next_power_of_two(sz)); - return panfrost_pool_alloc_aligned(pool, sz, sz); -} - -struct panfrost_ptr -panfrost_pool_alloc(struct pan_pool *pool, size_t sz); - mali_ptr panfrost_pool_upload(struct pan_pool *pool, const void *data, size_t sz); -- 2.7.4